Updated Filer as a Key Large Value Store (markdown)

Chris Lu 2020-12-27 15:21:05 -08:00
parent 8b05072468
commit c2eebf7c44

@ -1,5 +1,15 @@
# Key-Large-Value Store
Usually key-value stores are limited by the storage capacity. With SeaweedFS, you can get key value store with almost unlimited size, while still maintaining reasonable speed.
## How to do it?
There are two tricks:
* Configure to store small values in filer store. E.g., `weed filer -cacheToFilerLimit=1024` will store values less than 1KB to filer itself.
* Configure In [[Super Large Directories]]
This way, values less than 1KB is basically the same as the underlying key-value store, while the larger values are physically stored on volume servers.
# Benchmark with YCSB as a Key-Value store
[Yahoo! Cloud Serving Benchmark(YCSB)](https://github.com/brianfrankcooper/YCSB) is a framework for evaluating the performance of different “key-value” and “cloud” serving stores.