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

Any thoughts about error handling #15

Open
mfts opened this issue Mar 11, 2024 · 2 comments
Open

Any thoughts about error handling #15

mfts opened this issue Mar 11, 2024 · 2 comments

Comments

@mfts
Copy link

mfts commented Mar 11, 2024

Hey @chronark

Since there have been two tinybird ingest outages within the last month. (Feb 10 and March 9)

Any thoughts how you are currently handling failed tinybird requests?

Was thinking to add error handling and retries to my implementation along the lines of this here:
https://www.tinybird.co/docs/guides/ingest-from-the-events-api.html#error-handling-and-retries

How are you doing it at unkey?

@chronark
Copy link
Owner

It retries once already, but only on 429 errors. We can improve that, but I don't see a good solution for buffering long outages within this lib.

We're going to buffer and batch all messages in a cloudflare queue soon (similar to what we do for axiom logs already)

image

@mfts
Copy link
Author

mfts commented Mar 14, 2024

Nice! Would love to learn more about this when you release it for unkey

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

2 participants