Skip to content

Comment on Available on Google Cloud: Intel Optane DC Persistent Memoryparent

Comments

That's an excellent question. The answer is that those type of libraries will work just fine for read-only workloads since you cannot mutate a data structure once you have serialized and written it out to a file. The best part is, this will work without any (or very little) modifications, as long as your application is suited for using mmap. All you have to do is to use a persistent memory resident file on a DAX file system.

If you need dynamic mutable state however, as great as these libraries are, you will need a more complex solution with memory allocation and transactions.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.