Igor Canadi 038a477b53 Make it easier to start using RocksDB
Summary:
This diff is addressing multiple things with a single goal -- to make RocksDB easier to use:
* Add some functions to Options that make RocksDB easier to tune.
* Add example code for both simple RocksDB and RocksDB with Column Families.
* Rewrite our README.md

Regarding Options, I took a stab at something we talked about for a long time:
* https://www.facebook.com/groups/rocksdb.dev/permalink/563169950448190/

I added functions:
* IncreaseParallelism() -- easy, increases the thread pool and max_background_compactions
* OptimizeLevelStyleCompaction(memtable_memory_budget) -- the easiest way to optimize rocksdb for less stalls with level style compaction. This is very likely not ideal configuration. Feel free to suggest improvements. I used some of Mark's suggestions from here: https://github.com/facebook/rocksdb/issues/54
* OptimizeUniversalStyleCompaction(memtable_memory_budget) -- optimize for universal compaction.

Test Plan: compiled rocksdb. ran examples.

Reviewers: dhruba, MarkCallaghan, haobo, sdong, yhchiang

Reviewed By: dhruba

CC: leveldb

Differential Revision: https://reviews.facebook.net/D18621
2014-05-10 10:49:33 -07:00
..
2014-01-30 22:10:10 -08:00
2014-05-08 13:50:49 -07:00
2014-05-08 13:50:49 -07:00
2014-04-15 13:39:26 -07:00
2014-04-15 13:39:26 -07:00
2014-05-09 08:41:02 -07:00
2014-05-02 16:24:04 -04:00
2014-05-02 16:24:04 -04:00
2014-04-04 14:03:19 -07:00
2014-03-03 21:11:49 -08:00
2014-01-17 12:46:06 -08:00
2014-01-17 12:46:06 -08:00
2014-04-15 13:39:26 -07:00
2014-03-21 15:32:48 -07:00
2014-04-15 13:39:26 -07:00
2014-04-15 13:39:26 -07:00
2014-04-08 10:58:07 -07:00
2014-04-08 10:58:07 -07:00
2014-02-12 11:42:54 -08:00
2013-12-03 12:42:15 -08:00
2014-01-17 12:46:06 -08:00
2014-04-09 21:17:14 -07:00
2014-04-09 21:17:14 -07:00
2014-04-17 14:29:28 -07:00
2014-04-25 09:50:51 -04:00
2014-05-01 14:09:32 -04:00
2014-05-01 14:09:32 -04:00