-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
agave-geyser-plugin-interface
datasource
#109
Comments
We're open to it, we are familiar with Geyser. A geyser plugin datasource in general sounds a bit vague—cause geyser plugins can be implemented in different manners, in the case of Yellowstone gRPC, it's pretty specific what we connect to, where the data is sourced. Can you describe a bit more how you view it? |
the main point is to bypass the huge grpc service in between if we speak in the context of Yellowstone. In my head, the final implementation looks like the next one:
in the Notes:
Pros:
Cons:
|
@KellianDev do you have any thoughts, suggestions, or notices at this point? |
Sorry for the delayed answer. Got you, so here Carbon is ran directly from the implementation struct of the This makes sense to me. I think there's not that much heavy-lifting for building the actual datasource module, just need a good example as you mentioned. I like the idea, when would you have time to draft a PR? |
yeah, you got me right. I believe, I can start in a couple of days and will send a draft MR to get feedback from you ASAP to prevent making any "incorrect" moves that are not aligned with a project's roadmap or vision |
Sounds perfect. |
@sonicfromnewyoke but have you consideration deployment. Since the plugin has to be deployed with the validator, the user would need access to the validator's configuration. That might be a con because not everyone runs their own validator. Geyser plugins are loaded by the validator at runtime. So the plugin would run within the validator's process. |
Developers that don't run one can use other data sources—which there are multiple of and which we will keep adding to. This is specifically designed for people that do. |
are you planning to implement such kind of datasource?
it should be pretty similar to how it's already done for
yellowstone-grpc
datasourceIn case you're not familiar with geyser, I can make a PR when I'll have some bandwidth (hopefully in the end of January)
The text was updated successfully, but these errors were encountered: