Skip to content

Interface for retries? #516

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

Open
MichaelChirico opened this issue Mar 25, 2025 · 0 comments
Open

Interface for retries? #516

MichaelChirico opened this issue Mar 25, 2025 · 0 comments

Comments

@MichaelChirico
Copy link
Contributor

I wonder if there's been any thought put into a centralized interface for retrying queries.

It's quite common in distributed systems to hit timeouts, cache misses, etc., when running queries at scale, and we often observe users custom-rolling a retry interface to make their pipelines (etc) more robust to these temporary misses.

I think it would be useful to host such an interface centrally in DBI, perhaps directly in the dbSendQuery() generic? What might such an interface look like generically, a failure callback?

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

No branches or pull requests

1 participant