input-output-hk / iodb

Multiversioned key-value database, especially useful for blockchain
Creative Commons Zero v1.0 Universal
95 stars 13 forks source link

Optional In-memory storage of all the data in current version #1

Open kushti opened 7 years ago

kushti commented 7 years ago

Make a flag in database constructor to store all the data (current version only) in memory (guarantee is not needed, so if it is impossible to store the whole dataset in memory, dump it on disk anyway).

jankotek commented 7 years ago

Journal (last N updates) should be cached onheap. That also speed up Sharding Task, since it does not have to merge Journal

jankotek commented 6 years ago

Memory mapped files in 0.5 should help it.