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 wins" to apply in this scenario you've outlined.

Is there a good reason you need to snapshot for every message?

On Fri, Nov 21, 2014 at 8:14 AM, Karthik Chandraraj <ckarthi...@gmail.com>
wrote:

> 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 I loose the
> first data?
>
> Thanks,
> C.Karthik
>
> --
> >>>>>>>>>> Read the docs: http://akka.io/docs/
> >>>>>>>>>> Check the FAQ:
> http://doc.akka.io/docs/akka/current/additional/faq.html
> >>>>>>>>>> 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 akka-user+unsubscr...@googlegroups.com.
> To post to this group, send email to akka-user@googlegroups.com.
> Visit this group at http://groups.google.com/group/akka-user.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Cheers,
Konrad 'ktoso' Malawski
hAkker @ Typesafe

-- 
>>>>>>>>>>      Read the docs: http://akka.io/docs/
>>>>>>>>>>      Check the FAQ: 
>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html
>>>>>>>>>>      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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to