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

Add redundancy to Cardano queries #841

Merged
merged 2 commits into from
Oct 2, 2024
Merged

Add redundancy to Cardano queries #841

merged 2 commits into from
Oct 2, 2024

Conversation

peachbits
Copy link
Contributor

@peachbits peachbits commented Sep 30, 2024

CHANGELOG

Does this branch warrant an entry to the CHANGELOG?

  • Yes
  • No

Dependencies

none

Description

none

By far, the slowest query is `address_txs` and we don't know how many times we have to query it but it does return 1000 txs at a time. We can't provide any progress updates until we get the list of txids and break them up.

The first query takes so long that the end result isn't remarkably better than the original. Breaking up the second info query into chunks technically makes syncing take longer with the "benefit" that maybe we'll see actual progress in the sync ratio. This commit is optional and I can be convinced it isn't necessary.
Copy link
Contributor

@swansontec swansontec left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know about the second commit either, but psychologically people are OK with things being slow as long as they get progress. It's easier to wait a week with tracking info that wait 4-5 days without tracking information, so I'm generally in favor of this sort of thing.

@peachbits peachbits merged commit 73abe84 into master Oct 2, 2024
2 checks passed
@peachbits peachbits deleted the matthew/koios branch October 2, 2024 22:34
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.

2 participants