If these actors blocking while waiting for postgres you might see a
starvation issue. All threads in the dispatcher are blocked. You should be
able to confirm this with thread dumps, a profiler, or Lightbend’s Thread
Starvation Detector.

/Patrik
mån 30 okt. 2017 kl. 06:56 skrev <lah...@highfive.com>:

> Hi Team,
>
> I recently noticed this behavior in Akka event-bus and there are different
> subscribers listening to events and one subscriber writes to Postgres. This
> subscriber retry if the write fails for 10 times with exponential back-off
> with max wait of 10 seconds.
>
> Recently we had a postgres outage so I see large number of retry attempts
> and lots of slow subscribers but after sometime I see that subscriber
> wasn't invoked at all. But other subscribers for the same event
> (non-postgres) got invoked
> so there is not issue with publishing but something is going on with the
> dispatching messages to subscribers.
>
> I can simulate this by adding a timeout in Postgres Subscriber onMessage
> method and publish bunch of messages to event-bus, all the other
> subscribers get invoke but Postgres subscriber.
>
> Do you know an issue like this or is there a way to avoid this behavior ?
>
> Regards
> Lahiru
>
>
> --
> >>>>>>>>>> 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 https://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 akka-user+unsubscr...@googlegroups.com.
To post to this group, send email to akka-user@googlegroups.com.
Visit this group at https://groups.google.com/group/akka-user.
For more options, visit https://groups.google.com/d/optout.

Reply via email to