Re:Riak's Bitcask - A Log-Structured Hash Table For Fast Key...
by metabrew on Tuesday January 11, 2011 @01:45PM
(#2092989)
Riak has "windowed merges", ie you can schedule compaction at your off-peak times. Or not at all, I guess, if you never delete or modify existing data.
[ Parent
| on HN ]
Re:Riak's Bitcask - A Log-Structured Hash Table For Fast Key...
by siculars on Tuesday January 11, 2011 @02:41PM
(#2093136)
the window merge is a new thing in riak 0.14, i believe. and you are correct the merge is only a consideration based on your use case. if you are using riak as a pure dump of immutable data you will not need to merge. if, however, your use case consists of a number of edits you should consider a more aggressive merge strategy. As all updates/deletes are appended to bitcask and are actually writes, your dead bytes will start growing rapidly.