oleiade / Elevator

Elevator is an open source, on-disk key-value store. Provides high-performance bulk read-write operations over very large datasets while exposing a simple and efficient API.
http://elevator.readthedocs.org
MIT License
71 stars 12 forks source link

sorted option on MGET #114

Closed oleiade closed 12 years ago

oleiade commented 12 years ago

In order to enhance the atomic GET operations performance on MGET, pre-sort keys would pre-chew the work to leveldb, and help it cache more efficently reads.

oleiade commented 12 years ago

Sorting didn't improved performances.

Instead, extracting the range between min key and max key, and retrieving results on it, instead of multiple atomic get improved performances by 1.6x