Martin,

I understand. But here is what I am trying to achieve - I have an app that 
processes potentially large amounts of incoming data (hundreds of thousands 
of messages per sec). I want to allow the app to crash anytime and not take 
any data with it (write-ahead log). Given the amount of data I cannot 
afford keeping the entire history in leveldb, so I was thinking of taking 
snapshots periodically as they are there specifically for that purpose and 
then truncate all messages prior to the snapshot. How do I do it? It is 
only after successful snapshot saving that I can delete messages prior to it

I still find it suspicious that the database shrinks when messages are 
deleted one-by-one and doesn't shrink when they are deleted en masse (with 
the same frequency). How can it possibly be explained?

Thanks
Vadim

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: http://akka.io/faq/
>>>>>>>>>>      Search the archives: https://groups.google.com/group/akka-user
--- 
You received this message because you are subscribed to the Google Groups "Akka 
User List" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to