You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The first step toward achieving HA might be to address fault tolerance by implementing persistence, as the current setup doesn’t support it—meaning a crash would result in total data loss.
A possible solution could involve introducing state snapshots and an append-only log for operations. This would allow for some level of recovery during a failover, with configurable options for snapshot intervals.
My preference is for a memory-focused approach to persistence, where:
A snapshot of the current state is taken.
As operations are processed, they are logged.
When the log reaches a certain size or memory threshold, a new snapshot is taken.
The log file is either archived or simply discarded.
* Added serde support for SpatialIndex
* Added support for snapshots and persistence
* Updated lockfile
* clippy
* Updated CHANGELOG
* Fixed issue with unwrapping snapshot.every
* Updated default config example
A possible solution could involve introducing state snapshots and an append-only log for operations. This would allow for some level of recovery during a failover, with configurable options for snapshot intervals.
My preference is for a memory-focused approach to persistence, where:
Originally posted by @ezrasingh in #5 (comment)
The text was updated successfully, but these errors were encountered: