Open oleiade opened 11 years ago
Note that Plyvel provides transparent support for the 'sub-databases' you describe using its PrefixedDB
API. It handles all operations (get, put, delete, iterators, and so on).
Hi @wbolster
I saw that feature pass yes, but Elevator has been completely rewritten in Go language, so I'm not using plyvel anymore. I guess I will have to code it myself :D :dancers:
In order to reduce unpredictable disk seeks, my intuition is that the ability to create namespaces englobing databases would help.
For example, creating the namespace
mynamespace
would actually create aleveldb
backend on the disk with that name. And then creating a dbmydb
insidemynamespace
would make every operations overmydb
being written inmynamespace
physical backend with amydb:
prefix key.