Add persistence to restore state if service is restarted #28
Labels
No Label
bug
enhancement
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: henry/AccessQueueService#28
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
AccessQueueService keeps queue and access tickets in-memory to keep performance high. The trade-off is that the state is lost if the service goes down.
To mitigate this the service could periodically serialize the current state of the queue and save the state to disk. If the service is restarted it will first try to restore its state.