Adding durability to in-memory data structures

前端 未结 6 2208
离开以前
离开以前 2021-02-14 19:53

What are some of the popular techniques you can adopt to add durability to your in-memory data structures (ie) if the process crashes, you can preserve all previously ex

6条回答
  •  隐瞒了意图╮
    2021-02-14 20:41

    Any answer to your question will entail doing something like what an ACID database system does. So I would say your best bet is to use an RDBMS to store your application state, updating whenever you have an (application) transaction that must not be lost.

提交回复
热议问题