seaweedfs/go/weed/weed_server
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
..
master_ui [ui] add ui to status page 2015-03-24 10:52:14 -07:00
volume_server_ui tweaking ui 2015-03-22 12:50:04 -07:00
common.go tweaking ui 2015-03-22 12:50:04 -07:00
filer_server_handlers_admin.go Set http status after modifying response headers. 2015-01-08 00:19:32 -08:00
filer_server_handlers.go merge conflicts 2015-02-07 15:35:28 -08:00
filer_server.go merge conflicts 2015-02-07 15:35:28 -08:00
master_server_handlers_admin.go follow golint suggestions 2015-03-10 00:20:34 -07:00
master_server_handlers_ui.go [ui] add ui to status page 2015-03-24 10:52:14 -07:00
master_server_handlers.go follow golint suggestions 2015-03-10 00:20:34 -07:00
master_server.go tweaking ui 2015-03-22 12:50:04 -07:00
raft_server_handlers.go Set http status after modifying response headers. 2015-01-08 00:19:32 -08:00
raft_server.go follow golint suggestions 2015-03-10 00:20:34 -07:00
volume_server_handlers_admin.go Add boltdb for volume needle map 2015-03-29 11:04:32 -07:00
volume_server_handlers_helper.go fix some typos 2015-01-13 18:46:56 +08:00
volume_server_handlers_read.go Separate read and write volume handlers. 2015-02-25 23:59:07 -08:00
volume_server_handlers_ui.go tweaking ui 2015-03-22 12:50:04 -07:00
volume_server_handlers_vacuum.go Set http status after modifying response headers. 2015-01-08 00:19:32 -08:00
volume_server_handlers_write.go Avoid wrong way to delete on replication failure 2015-03-09 01:10:04 -07:00
volume_server_handlers.go Add read only public port on volume server 2015-03-09 01:10:04 -07:00
volume_server.go Add boltdb for volume needle map 2015-03-29 11:04:32 -07:00