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

Batched Events must not get lost #32

Open
4 tasks
Structed opened this issue Mar 27, 2022 · 0 comments
Open
4 tasks

Batched Events must not get lost #32

Structed opened this issue Mar 27, 2022 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@Structed
Copy link
Owner

Structed commented Mar 27, 2022

In case of a crash/scene change etc, unsent events should be persisted to disk and sent the next time the game can send it.

Disc access rate is a concern:

  1. less disk access - higher chance of loss of events
  2. higher disk access - lower chance of loss of events

Idea/Request by @lentsius-bark

  • Write batch to file system (single file) every time an event is added to a batch
  • Delete/overwrite batch after send
  • On game start, read cache and send batch
  • Add documentation
@Structed Structed added the enhancement New feature or request label Mar 27, 2022
@Structed Structed added this to the 0.1 Release milestone Mar 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant