|
|
|
|
|
by pbalcer
2785 days ago
|
|
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. |
|