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

Implement event retry #15

Open
JanC opened this issue Jun 27, 2018 · 0 comments
Open

Implement event retry #15

JanC opened this issue Jun 27, 2018 · 0 comments
Labels
feature New feature or request

Comments

@JanC
Copy link
Member

JanC commented Jun 27, 2018

When the events fail and are marked as retryable, the SDK needs to offer a way to retry them.

possibilities:
Option 1:

  • schedule a loop every x seconds to send events.
  • polling the DB when there are no events to retry can be unnecessary

Option 2 :

  • schedule a timer for each event to retry.
  • Much reliable since the event would be resent exactly at the next trigger date
  • This could use too much memory in case of lots of events
  • On SDK start, reschedule timers
@JanC JanC mentioned this issue Jun 27, 2018
4 tasks
@JanC JanC added the feature New feature or request label Jun 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant