AtLeastOnceDelivery requires the host actor to be a persistent actor.

Regards,
Patrik

On Sun, Nov 9, 2014 at 6:41 PM, Burak Emre Kabakcı <emrekaba...@gmail.com>
wrote:

> The documentation assumes that we need PersistentActor so I didn't know
> such option is available. However what I want to do is similar to what you
> suggest. Instead of fire-and-forget, do not release the memory region of
> that message until being sure that it's delivered and send the message
> recursively with timeout interval.
>
>
> On Sunday, November 9, 2014 2:57:04 PM UTC+2, 何品 wrote:
>>
>> The issue seems that you want using the AtLeastOnceDelivery Only,but not
>> the PersistentActor right?
>> I think it should be handy that only minxin the AtLeastOnceDelivery to
>> the normal actor,I haven't try that.
>>
>> 在 2014年11月9日星期日UTC+8下午7时59分41秒,Burak Emre Kabakcı写道:
>>>
>>> I use persistent actors in order to accomplish at-least-once message
>>> guarantee and it seems Akka uses Leveldb for persisting events to disks.
>>> However I'm not actually satisfied with default journal implementation
>>> because while it has the obvious performance drawbacks, I couldn't really
>>> understand what the real benefit is. I have a web server in front of Akka
>>> and the persistent actor lives in the same JVM with web server. Therefore
>>> if the JVM crashes, users will be aware that the server couldn't process
>>> the event so JVM failures is not a big deal for me.
>>>
>>> I see that people are suggesting in-memory journals for unit testing so
>>> I assume that using it in production is considered as a bad practice. I
>>> know that Apache Storm also has at-least-once message guarantee and it
>>> doesn't persist each event on disk but many companies uses Storm in
>>> production without worrying too much about this issue. Can anyone explain
>>> why Akka persist messages on disk and what are the other drawbacks of using
>>> in-memory journal?
>>>
>>  --
> >>>>>>>>>> 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.
>



-- 

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