Adong Fan
2017-12-26 09:15:02 UTC
hi all
I want to use leveldb as a local-storage-mechanism: when i send to messages
to message-queue-server fail , i will store the messages locally.
my question is :
1. how to limit the maximum disk space for levelDBïŒotherwise it may grow
bigger and bigger ?
2. If there is no max-disk-space limit in LevelDB ? what can i do to limit
the total size in my web app ? e.g. Caculate the total num of .sst file ?
I want to use leveldb as a local-storage-mechanism: when i send to messages
to message-queue-server fail , i will store the messages locally.
my question is :
1. how to limit the maximum disk space for levelDBïŒotherwise it may grow
bigger and bigger ?
2. If there is no max-disk-space limit in LevelDB ? what can i do to limit
the total size in my web app ? e.g. Caculate the total num of .sst file ?
--
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "leveldb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to leveldb+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.