Small hint: it is very simple to have PersistentActor to behave exacly like
Processor did (if you have such an use case) - simply persist all the
incoming messages right away in the 1st line of your receive handlers.


On Fri, Jun 20, 2014 at 11:23 PM, Konrad Malawski <kt...@typesafe.com>
wrote:

> Hello Scott,
> As I've briefly hinted during the ScalaDays presentation (and of course
> all discussions have been public before on akka-user), the changes are
> (mostly, but not limited to):
>
> Removal:
> * removal of `Processor` (Command Sourcing),
> * removal of `Channel` and `PersistentChannel` because they were only ever
> useful will plain Processors to begin with,
>
> Rename and new methods:
> * we now recommend Event Sourcing => the old `EventsourcedProcessor`,
> which will be renamed to `PersistentActor
> <https://github.com/akka/akka/pull/15308>` (API stays mostly the same: 1
> rename and 2 additional methods),
> * `PersistentActor` gets `persistAsync` and `defer` which allow you to
> keep up with "high-throughput + not-as-critical-consistence" scenarios,
>
> New trait for redelivery:
> * Redelivery (channels did that), will be implemented as a rather pure
> trait `AtLeastOnceDelivery <https://github.com/akka/akka/issues/15327>`
> (which now Patrik is finishing his pull request for soon),
>
> Others:
> * other efforts include trying to not work on Persistent(data, nr) in
> user-land as much as possible, and keep your code clean and only "your
> domain".
> * we may tweak some more things around journals etc, yet to be decided -
> please remember *this is an experimental module *(which are expected to
> be under heavy development and api changes).
>
> We will be deprecating the "to be removed" classes in 2.3.4 (even though
> this module is experimental!) and removing them some time afterwards, so
> users have time to migrate.
>
> Issues around these can be found using the t:persistence filter on github.
> Like for example Remove Processor and Channel abstractions
> <https://github.com/akka/akka/issues/15230>.
>
> In general the idea is to keep existing functionality, yet with less
> classes and APIs = so it's both easier to learn, use, and maintain :-)
> These changes are meant to stabilise the APIs so we can release a stable
> and supported persistence version somewhere around the 2.4.x release
> timeframe (no dates yet - other than "when it's done").
>
>
> I hope this helps!
>
>
>
> On Fri, Jun 20, 2014 at 9:59 PM, Scott Clasen <scott.cla...@gmail.com>
> wrote:
>
>> Can someone give/link to the cliff notes of the upcoming persistence
>> changes?
>>
>> Is it along the lines of Processor => EventsourcedProcessor  and  Channel
>> => Stream?
>>
>> What else?
>>
>> --
>> >>>>>>>>>> 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, Inc
>
> <http://scaladays.org>
>



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

<http://scaladays.org>

-- 
>>>>>>>>>>      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