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

Need to implement exponential backoff for polling nextUri #448

Open
abhishekjai opened this issue Dec 26, 2023 · 1 comment
Open

Need to implement exponential backoff for polling nextUri #448

abhishekjai opened this issue Dec 26, 2023 · 1 comment

Comments

@abhishekjai
Copy link

In the library exponential needs to implemented for checking the nextUri
Is there going be a performance impact if we directly check the nextUri without polling or doing exponential backoff?

@cefn
Copy link

cefn commented May 13, 2024

In case you want to implement this in userspace, you could look at @watchable/nevermore that I wrote for this purpose.

Its generator API could work especially well with the AsyncIterator returned by trino.query(...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants