canepat / Helios

Helios is a component library for domain-specific scalable applications.
Apache License 2.0
3 stars 1 forks source link

Add periodic snapshot of Service data #2

Closed canepat closed 8 years ago

canepat commented 8 years ago

Add hooks for supporting periodic snapshot of service in-memory data

canepat commented 8 years ago

Remove Snapshot interface and add callback hooks for saving in-memory data to and loading in-memory data from snapshots into ServiceHandler interface

canepat commented 8 years ago

Better solution: define a new ADMIN_MSG_ID message type and use RingBuffer communication for informing a Service to save data to or load data from a Snapshot