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

Offline caching improvements - Delay between and backoff when 429 is on #1926

Open
bruno-garcia opened this issue Feb 28, 2022 · 0 comments
Open

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Feb 28, 2022

The SDK guideline has a couple of new items regarding offline caching: getsentry/develop#509

  1. If rate-limit was hit, make sure the caching transport is aware. Meaning: don't read all files from disk to send to the HTTP transport when that's basically dropping everything due to rate-limit
  2. Add a delay when reading from disk to avoid bursts of events which could trigger rate limit
  3. Once the device is back online, read events preciously cached (as opposed to send only on restart or when a new event is captured)

Relates to:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

2 participants