Skip to content
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

feat: multi-cosmos indexing #3

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

feat: multi-cosmos indexing #3

wants to merge 13 commits into from

Conversation

0xlaine
Copy link
Contributor

@0xlaine 0xlaine commented Nov 11, 2022

This PR does a lot of things, but primarily it's about making the indexing code much more generic so that we can handle most cosmos blockchains without much fuss

@0xlaine
Copy link
Contributor Author

0xlaine commented Nov 11, 2022

I suggest that we squash-merge this beast.

0xlaine added 3 commits April 21, 2023 10:59
Also update the enumerator to send off the request for "next blocks" in
the background, before it starts yielding the results of the current
block.
This should speed indexing up by some amount as we're doing more stuff
concurrently.
… query

Since we're storing our data in a timeseries database, providing
datetimes for the query can significantly speed up the query. It helps
the underlying datastore to pick the right partition/chunk/index to
locate the data.

Also added an index on `id` to avoid having to do table scans, but
rather index scans in the correct partition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants