Implement sub-databases as namespaces
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 a leveldb backend on the disk with that name. And then creating a db mydb inside mynamespace would make every operations over mydb being written in mynamespace physical backend with a mydb: prefix key.
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: