On Fri, Aug 15, 2014 at 5:50 PM, Prakhyat Mallikarjun <[email protected]
> wrote:

> Hi patrik,
>
> Glad you understood my point.
>
> Thanks for your suggestions and point of view. It will help me.
>
> If old stock of events are removed it will save lot of disk space.
>
> But I am curious,
> How taking snapshot will get rid of old events? When framework takes
> snapshots does it delete old events? Correct me if I am wrong.
>

Saving a snapshot will not automatically delete events.

To delete all messages (journaled by a single persistent actor) up to a
specified sequence number, persistent actors may call the deleteMessages
 method.


>
> Also why is it important to know how the system reached a particular
> state? As the application or data ages, knowing how the system reached
> particular state will become less significance. Why is it so important in
> architecture or design?
>

It is not always important, but for some applications it is.
Event sourcing concepts:
https://github.com/eventstore/eventstore/wiki/Event-Sourcing-Basics
http://martinfowler.com/eaaDev/EventSourcing.html
http://martinfowler.com/bliki/CQRS.html

I also recommend watching this presentation by Duncan DeVore:
http://www.parleys.com/play/53a7d2cce4b0543940d9e55c

/Patrik


>
> -prakhyat m m
>
> --
> >>>>>>>>>>      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 [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/d/optout.
>



-- 

Patrik Nordwall
Typesafe <http://typesafe.com/> -  Reactive apps on the JVM
Twitter: @patriknw

-- 
>>>>>>>>>>      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 [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/d/optout.

Reply via email to