exocore icon indicating copy to clipboard operation
exocore copied to clipboard

Implement pending storage persistence

Open appaquet opened this issue 6 years ago • 0 comments

Right now, pending store is kept in memory. In order to increase resilience of it in case of crash, we need persist it.

The ideal persistence would be a WAL since the pending store is continuously being appended and cleaned up. We could directly mmap the operations data from it instead of storing them in memory.

Operations would still be in memory, but not their frame data.

TODO:

  • [ ] Find a WAL crate that we can reference bytes from
  • [ ] Think of a way to cleanup old segments of log

appaquet avatar May 22 '19 14:05 appaquet