Revision 6de6a066313876c0142db643a75272c3578b39f6 authored by Igor Canadi on 21 May 2014, 18:43:35 UTC, committed by Igor Canadi on 21 May 2014, 18:43:35 UTC
Summary:
Introducing new compaction style -- FIFO.

FIFO compaction style has write amplification of 1 (+1 for WAL) and it deletes the oldest files when the total DB size exceeds pre-configured values.

FIFO compaction style is suited for storing high-frequency event logs.

Test Plan: Added a unit test

Reviewers: dhruba, haobo, sdong

Reviewed By: dhruba

Subscribers: alberts, leveldb

Differential Revision: https://reviews.facebook.net/D18765
1 parent 220132b
History
File Mode Size
win
README -rw-r--r-- 405 bytes
atomic_pointer.h -rw-r--r-- 4.9 KB
likely.h -rw-r--r-- 780 bytes
port.h -rw-r--r-- 917 bytes
port_example.h -rw-r--r-- 4.5 KB
port_posix.cc -rw-r--r-- 3.0 KB
port_posix.h -rw-r--r-- 13.1 KB
stack_trace.cc -rw-r--r-- 3.3 KB
stack_trace.h -rw-r--r-- 678 bytes

README

back to top