From 5f6fbce4940e9b3228c97ef26bcc34522ff73e7f Mon Sep 17 00:00:00 2001 From: chrislusf Date: Mon, 30 Mar 2015 09:12:48 -0700 Subject: [PATCH] Updated Optimization (markdown) --- Optimization.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Optimization.md b/Optimization.md index 6131e57..83bdea7 100644 --- a/Optimization.md +++ b/Optimization.md @@ -49,6 +49,8 @@ For boltdb, the write is about 4.1MB/s, 4.1K files/s For leveldb, the writes is about 10.4MB/s, 10.4K files/s For in-memory, it is a tiny bit faster, not statistically different. But I am using SSD, and os buffer cache also affect the numbers. So your results may be different. +Note: BoltDB has a limit that the max db size is 256MB on 32bit systems. + ## Insert with your own keys The file id generation is actually pretty trivial and you could use your own way to generate the file keys.