Adding durability to in-memory data structures

前端 未结 6 1383
长情又很酷
长情又很酷 2021-02-14 20:13

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:42

    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.

提交回复
热议问题