Hi Daniel,

I'm not sure where your logic would be used. Are you using transient Channels 
and a Processor or are you using PersistentChannels? If you are using a 
PersistentChannel then you could limit the maximum number of outstanding 
messages via the pendingConfirmationsMax setting.

A redeliverInterval setting of 10 seconds seems fine, but what is your 
redeliverMax setting. Are you flooding the channel and your code would be a 
back off in the sender? You only need to resend from the sender if you get a 
redelivery failure message from the channel.

Is the channel destination remote or local? Do you see any remoting issues?

B/

On 13 May 2014 at 17:23:25, Dong Wang ([email protected]) wrote:

I se the interval to 10  seconds. Does my suggestion make any sense to you?

在 2014年5月13日,下午7:11,Björn Antonsson <[email protected]> 写道:

Hi Daniel,

Are you talking about getting RedeliveryFailure messages when your load is 
high? The Channel should handle redelivery for you. If you  have a lot of 
redeliveries happening, then maybe your redeliver interval is set too tight, or 
you are simply overloading your system.

B/

On 12 May 2014 at 13:56:49, dong ([email protected]) wrote:

I'm seeing in my application a lot of channels message redelivery when the 
overall load of the system is high.

Is it a good idea to re-deliver channel message this way:
record the latest confirmed time [ of any message]
re-deliver the message only iff (current_timestamp - 
latest_confirmed_timestamp) > timeout1  && current_timestamp - 
the_message's_delivery_timestamp > timeout_2)

I may missed many details, but you get the idea.

-Daniel
--
>>>>>>>>>> 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.
-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

JOIN US. REGISTER TODAY!
Scala
Days
June 16th-18th,
Berlin

--
>>>>>>>>>> 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 a topic in the Google 
Groups "Akka User List" group.
To unsubscribe from this topic, visit 
https://groups.google.com/d/topic/akka-user/g47kdVSOqMw/unsubscribe.
To unsubscribe from this group and all its topics, 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.
--
>>>>>>>>>> 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.
-- 
Björn Antonsson
Typesafe – Reactive Apps on the JVM
twitter: @bantonsson

JOIN US. REGISTER TODAY!
Scala
Days
June 16th-18th,
Berlin

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