Open domenkosir opened 7 years ago
Space could be reclaimed by deleting old file and creating new, it is better than compaction in many cases.
Queues should be added in a few months. I will keep this issue opened as it describes required features well.
+1,ConcurrentQueue!!!
This is my use case:
I'm reading ~1kB items from several sources and putting them into a MapDb queue (I'm using mapdb-2.0-beta13). In the same process, a different thread takes items from the queue and sends them to a service via HTTP.
Sometimes, the HTTP service becomes unresponsive. When this happens, no items are dequeued for a while and the size of the queue increases. It's a high-throughput scenario, so the queue size can easily exceed the amount of RAM available.
I've experimented with fileDB & fileMmapEnable but I'm having problems setting up MapDb according to my needs:
Also, is queue support coming to MapDb 3.0 and when can we expect it?