Re:Siberite: A Simple LevelDB-Backed Message Queue in Go
by Bogdanovich on Sunday October 18, 2015 @12:38PM
(#10408724)
There is no benefit in that except faster startup time. As a downside you'll get a lot head/tail db keys updates.
[ Parent
| on HN ]
Re:Siberite: A Simple LevelDB-Backed Message Queue in Go
by dave_ops on Sunday October 18, 2015 @05:46PM
(#10409933)
Fast start times are a valuable thing for a service component.
Stick about 10GB of small entries in it (should be enough to create all the levels) and then see what happens.
Also, you could reserve the persisted [H|T] for controlled shutdown scenarios. Basically anything that isn't complete system failure if you're properly trapping signals.
Re:Siberite: A Simple LevelDB-Backed Message Queue in Go
by Bogdanovich on Sunday October 25, 2015 @04:34PM
(#10448286)
I added some more benchmarks including packing with 200M small 64 byte messages (20Gb) and consumption of that queue. There is no slowdown because of mass delete. https://github.com/bogdanovich/siberite/blob/master/docs/ben...