weed volume: remove boltdb, btree options, add options for leveldb medium, large

This commit is contained in:
Chris Lu
2019-04-09 09:42:06 -07:00
parent 9924fa3b1a
commit 8a5ce16e96
6 changed files with 34 additions and 205 deletions

View File

@@ -14,8 +14,10 @@ import (
type NeedleMapType int
const (
NeedleMapInMemory NeedleMapType = iota
NeedleMapLevelDb
NeedleMapInMemory NeedleMapType = iota
NeedleMapLevelDb // small memory footprint, 4MB total, 1 write buffer, 3 block buffer
NeedleMapLevelDbMedium // medium memory footprint, 8MB total, 3 write buffer, 5 block buffer
NeedleMapLevelDbLarge // large memory footprint, 12MB total, 4write buffer, 8 block buffer
NeedleMapBoltDb
NeedleMapBtree
)