Search for "work pulling" /Patrik On Tue, Feb 2, 2016 at 10:53 PM, Héctor Veiga <[email protected]> wrote:
> Hi, > > I would like to get some guidance to implement some kind of flow control > mechanism into my akka cluster application. I have the following problem: > the load in my system changes dramatically depending on the time of the > day. When the load is pretty high, I start seeing some issues with Akka > cluster where: > > - I start seeing this messages in the different nodes of my cluster: > Association with remote system [akka.tcp://Main@someNode:3351] has > failed, address is now gated for [5000] ms. Reason: [Disassociated] > - Some nodes are changing from REACHABLE to UNREACHABLE fast. I know this > can be tweaked through configuration, any advice here? > - I get some [50313] buffered messages in EndpointWriter for > [akka.tcp://Main@someNode:3351]. You should probably implement flow > control to avoid flooding the remote connection. > > And if my load keeps growing, we reach the situation where we get an OOM. > That's why I would like to implement some kind of flow control to be able > to contain and address this issue and drop some messages when it's > required. Is there any example or tutorial available? > > Thank you a lot, > > Héctor. > > -- > >>>>>>>>>> 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 https://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 https://groups.google.com/group/akka-user. For more options, visit https://groups.google.com/d/optout.
