Re: [akka-user] Akka HTTP client overflow strategy

2016-05-27 Thread Samuel Tardieu
Wouldn't a circuit breaker allow you to drop new queries early if the service takes too long to answer so that they don't accumulate? http://doc.akka.io/docs/akka/2.4.6/common/circuitbreaker.html Sam Le mer. 25 mai 2016 à 11:08, Loïc Descotte a écrit : > HI, > > I would like to use Akka Http

Re: [akka-user] Akka HTTP client overflow strategy

2016-05-25 Thread Loic Descotte
Hi Viktor, Thanks for your answer! I haven't yet done some load test but I will :) Thanks Loïc Le mer. 25 mai 2016 à 11:14, Viktor Klang a écrit : > Hi Loïc! > > Your requirements, if interpreted literally, will be impossible to achieve > (as in, in our universe). > > On the other hand, if we

Re: [akka-user] Akka HTTP client overflow strategy

2016-05-25 Thread Viktor Klang
Hi Loïc! Your requirements, if interpreted literally, will be impossible to achieve (as in, in our universe). On the other hand, if we don't take them all that literally, have you tried it out, with a timeout, and tested different load scenarios? On Wed, May 25, 2016 at 11:07 AM, Loïc Descotte

[akka-user] Akka HTTP client overflow strategy

2016-05-25 Thread Loïc Descotte
HI, I would like to use Akka Http client to call a webservice in a non blocking way. The app that will use this client must never block and should never crash, even if the webservice that it will call becomes very slow (for example if the traffic is too high). When the client registers a callba