seaweedfs/go/weed
chrislusf 1b6ab2f6af Add boltdb for volume needle map
boltdb is fairly slow to write, about 6 minutes for recreating index
for 1553934 files. Boltdb loads 1,553,934 x 16 = 24,862,944bytes from
disk, and generate the boltdb as large as 134,217,728 bytes in 6
minutes.

To compare, for leveldb, it recreates index in leveldb as large as
27,188,148 bytes in 8 seconds.
For in memory version, it loads the index in

To test the memory consumption, the leveldb or boltdb index are
created. And the server is restarted. Using the benchmark tool to read
lots of files. There are 7 volumes in benchmark collection, each with
about 1553K files.
For leveldb, the memory starts at 142,884KB, and stays at 179,340KB.
For boltdb, the memory starts at 73,756KB, and stays at 144,564KB.
For in-memory, the memory starts at 368,152KB, and stays at 448,032KB.
2015-03-29 11:04:32 -07:00
..
weed_server Add boltdb for volume needle map 2015-03-29 11:04:32 -07:00
benchmark.go follow golint suggestions 2015-03-10 00:20:34 -07:00
command.go rename from cmd to weed for easier "go build" 2013-02-10 04:05:28 -08:00
compact.go Add boltdb for volume needle map 2015-03-29 11:04:32 -07:00
cover.out follow golint suggestions 2015-03-10 00:20:34 -07:00
download.go switch it back to chris's repo 2014-12-14 00:35:26 -08:00
export.go Add boltdb for volume needle map 2015-03-29 11:04:32 -07:00
filer.go merge conflicts 2015-02-07 15:35:28 -08:00
fix.go Add boltdb for volume needle map 2015-03-29 11:04:32 -07:00
master.go marking weedfs.conf as deprecating. 2015-03-11 10:01:08 -07:00
mount_notsupported.go releasing 0.58 to handle control+c interrupts. 2014-05-13 11:25:48 -07:00
mount_std.go fix compilation error 2015-03-24 11:09:29 -07:00
mount.go formatting code by: goimports -w=true . 2014-10-26 11:34:55 -07:00
server.go Add boltdb for volume needle map 2015-03-29 11:04:32 -07:00
shell.go switch it back to chris's repo 2014-12-14 00:35:26 -08:00
signal_handling_notsupported.go formatting code by: goimports -w=true . 2014-10-26 11:34:55 -07:00
signal_handling.go 0.59 beta 2014-05-13 19:26:05 -07:00
upload.go merge conflicts 2015-02-07 15:35:28 -08:00
version.go switch it back to chris's repo 2014-12-14 00:35:26 -08:00
volume_test.go switch it back to chris's repo 2014-12-14 00:35:26 -08:00
volume.go Add boltdb for volume needle map 2015-03-29 11:04:32 -07:00
weed.go switch it back to chris's repo 2014-12-14 00:35:26 -08:00