Closed
Bug 663979
Opened 14 years ago
Closed 9 years ago
try leveldb for a disk cache backend
Categories
(Core :: Networking: Cache, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: taras.mozilla, Unassigned)
References
(Blocks 1 open bug)
Details
We will likely end up using https://code.google.com/p/leveldb/ as a replacement for sqlite in a few places.
However, using leveldb to replace the network cache feels like a particularly good fit, ie the block cache files for small entries.
It's a key/value store db like our block cache. It features compression, batch io and background compaction.
Our current backend is really ill-performing, features bugs like bug 663200. Seems like it would be reasonable to give leveldb a try before we run off writing our own storage backend.
Updated•14 years ago
|
Blocks: http_cache
Comment 1•14 years ago
|
||
See LevelDB Benchmarks (July 2011).
LevelDB (revision 39) is compared against SQLite3 (version 3.7.6.3) and Kyoto Cabinet's (version 1.2.67) TreeDB (a B+Tree based key-value store).
http://leveldb.googlecode.com/svn/trunk/doc/benchmark.html
Interesting stuff.
Comment 2•13 years ago
|
||
Note that we'll have to figure out the eviction story here: see bug 679852 comment 4
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•