Re: [akka-user] Save 2 snapshots at the same time?

2014-11-24 Thread Konrad Malawski
On Mon, Nov 24, 2014 at 5:50 AM, Soumya Simanta soumya.sima...@gmail.com wrote: Also, doesn't snapshotting every message effectively means now your snapshot is your log/journal ? Please correct me if that is not correct. That's more of a naming thing I'd say, but yes. -- Cheers, Konrad

Re: [akka-user] Save 2 snapshots at the same time?

2014-11-24 Thread Soumya Simanta
On Monday, November 24, 2014 3:29:33 AM UTC-5, Konrad Malawski wrote: On Mon, Nov 24, 2014 at 5:50 AM, Soumya Simanta soumya@gmail.com javascript: wrote: Also, doesn't snapshotting every message effectively means now your snapshot is your log/journal ? Please correct me if that is

Re: [akka-user] Save 2 snapshots at the same time?

2014-11-24 Thread Konrad 'ktoso' Malawski
A surprising way to use the Journal I’d say but yeah, it would work. — k  On 24 November 2014 at 12:23:35, Soumya Simanta (soumya.sima...@gmail.com) wrote: On Monday, November 24, 2014 3:29:33 AM UTC-5, Konrad Malawski wrote: On Mon, Nov 24, 2014 at 5:50 AM, Soumya Simanta

Re: [akka-user] Save 2 snapshots at the same time?

2014-11-23 Thread Konrad Malawski
Hello Karthik, first things first - if you need to snapshot for every message this is very fishy / suspicious. Snapshots should be used to fasten recovery times, guard against data corruption etc - not be core of a design. Not looking at the impl, but I'd say it's perfectly reasonable for the last

Re: [akka-user] Save 2 snapshots at the same time?

2014-11-23 Thread Soumya Simanta
Also, doesn't snapshotting every message effectively means now your snapshot is your log/journal ? Please correct me if that is not correct. On Sunday, November 23, 2014 1:42:07 PM UTC-5, Konrad Malawski wrote: Hello Karthik, first things first - if you need to snapshot for every message

[akka-user] Save 2 snapshots at the same time?

2014-11-20 Thread Karthik Chandraraj
Hi, In my code, I am saving snapshots frequently (For every message received by the Actor, to achieve durability) I was going thru the LocalSnapshotStore code and found that snapshots are stored with current_time_millisec as filename. What if my code saves 2 snapshot at the same millisec? Will