reverbrain / eblob

Eblob is an append-only low-level IO library, which saves data in blob files. Created as low-level backend for elliptics
GNU Lesser General Public License v3.0
104 stars 29 forks source link

Removed looking up for key twice on write. #78

Closed shaitan closed 10 years ago

shaitan commented 10 years ago

eblob_stress with default parameters succeeded. More cases for eblob_stress has been covered by The Travis build.

SaveTheRbtz commented 10 years ago

Nice one! @bioothod was kicking me to fix that one - but I was too lazy in last couple of weeks =) That should speed up non append- and non overwrite-heavy workloads.

I'm curious to see benchmarks before/after that change. It should not affect disk io because after first access data will be in OS pagecache, but should reduce contention on eblob cache locks.