Must persist counter across restarts
Closed this issue · 0 comments
AbdallahAlyamni commented
As a Service Provider
I need the service to persist the last known count
So that users don't lose track of their counts after the service is restarted
Details and Assumptions
- We will use a Redis database
- Counter will be stored as name-value pair
Acceptance Criteria
Given I have incremented the counter to 2
When I restart the service
Then the counter should still return 2