Re:HyperLevelDB: A High-Performance LevelDB Fork
by halayli on Thursday June 06, 2013 @06:21PM
(#5835545)
Agreed - but they are doing a full scan when doing searches so I don't see the benefit.
[ Parent
| on HN ]
Re:HyperLevelDB: A High-Performance LevelDB Fork
by monstrado on Thursday June 06, 2013 @06:31PM
(#5835608)
Searching is not the same thing as a range iteration, normally if you want to search a Key/Value than you'll need to scan the entire dataset.
A range iteration allows you to scan a subset of the data, and as long as they didn't fundamentally change how LevelDB works, than they will still support ranges.
Re:HyperLevelDB: A High-Performance LevelDB Fork
by halayli on Thursday June 06, 2013 @06:39PM
(#5835648)
> Searching is not the same thing as a range iteration, normally if you want to search a Key/Value than you'll need to scan the entire dataset.
In this case, you lost the sorted keys advantage that BTree gives you.
My point is that this project leans more towards exact key -> value lookups and a BTree is an overkill here.
Re:HyperLevelDB: A High-Performance LevelDB Fork
by monstrado on Thursday June 06, 2013 @06:51PM
(#5835736)
I guess it depends on your use case, most of the use cases I've seen have been time series using range iterations which is incredibly fast, but I understand your concern if you're only using it for random gets.