Rüdiger is a rocket scientist, he will be able to migrate without guides and hints ;-)
-- Heiko Seeberger Home: heikoseeberger.de <http://heikoseeberger.de/> Twitter: @hseeberger <https://twitter.com/hseeberger> Public key: keybase.io/hseeberger <https://keybase.io/hseeberger> > On 20 Nov 2015, at 19:08, Konrad Malawski <[email protected]> > wrote: > > Definitely upgrade to 2.0m2 once its out I think. It has major improvements > on internals as well as api :) > > There is a bit of changes since 1.0 but you'll manage, there's a migration > guide and we'll add more hints soon. > > On Nov 20, 2015 18:54, "Rüdiger Klaehn" <[email protected] > <mailto:[email protected]>> wrote: > OK, great. Having done some pretty complex things with the server side > API, I was surprised to run into issues on the client side so quickly. > > I am using akka-http in production (for a small, non mission-critical > tool). Should I upgrade to 2.0-M2 or stay with 1.0 and somehow work > around the bug? > > On Fri, Nov 20, 2015 at 6:51 PM, Konrad Malawski > <[email protected] <mailto:[email protected]>> wrote: > > Hi Rudiger, > > Yes it's a bug (two separate ones even, another thing you'll notice is > > actors leaking). > > And good news - we tracked it down and fixed it today! Will be released in > > M2 which will be released early next week. > > > > Thanks for reporting! > > > > On Nov 20, 2015 18:47, "rklaehn" <[email protected] > > <mailto:[email protected]>> wrote: > >> > >> Hi All, > >> > >> I am having some seemingly trivial problems with using the client side of > >> akka-http. Here is a little test program. I would expect it to print 100 > >> responses, but it prints just four and then hangs. > >> > >> This seems to be related to the configuration parameter > >> "akka.http.host-connection-pool.max-connections", which defaults to 4. So > >> it > >> seems that resources are not given back to the pool. > >> > >> Is this a bug, or am I doing something wrong? Note that I am aware that > >> there are other methods to do multiple requests, such as > >> cachedHostConnectionPool. But in this case I just want to do something > >> utterly trivial and non-performance-critical with the minimum of fuss. > >> > >> Cheers, > >> > >> Rüdiger > >> > >> --- > >> > >> import akka.actor.ActorSystem > >> import akka.http.scaladsl.Http > >> import akka.http.scaladsl.model.{HttpRequest, Uri} > >> import akka.stream.ActorMaterializer > >> > >> object TestClient extends App { > >> implicit val system = ActorSystem() > >> > >> implicit val mat = ActorMaterializer() > >> > >> implicit val ec = system.dispatcher > >> > >> for(i ← 0 until 100) > >> Http(system).singleRequest(HttpRequest(uri = > >> Uri("http://www.google.com <http://www.google.com/>"))).foreach(println) > >> } > >> > >> -- > >> >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/> > >> >>>>>>>>>> Check the FAQ: > >> >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html > >> >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html> > >> >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > >> >>>>>>>>>> <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] > >> <mailto:akka-user%[email protected]>. > >> To post to this group, send email to [email protected] > >> <mailto:[email protected]>. > >> Visit this group at http://groups.google.com/group/akka-user > >> <http://groups.google.com/group/akka-user>. > >> For more options, visit https://groups.google.com/d/optout > >> <https://groups.google.com/d/optout>. > > > > -- > >>>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/> > >>>>>>>>>>> Check the FAQ: > >>>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html> > >>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > >>>>>>>>>>> <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] > > <mailto:akka-user%[email protected]>. > > To post to this group, send email to [email protected] > > <mailto:[email protected]>. > > Visit this group at http://groups.google.com/group/akka-user > > <http://groups.google.com/group/akka-user>. > > For more options, visit https://groups.google.com/d/optout > > <https://groups.google.com/d/optout>. > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/> > >>>>>>>>>> Check the FAQ: > >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html> > >>>>>>>>>> Search the archives: > >>>>>>>>>> https://groups.google.com/group/akka-user > >>>>>>>>>> <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] > <mailto:akka-user%[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/akka-user > <http://groups.google.com/group/akka-user>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. > > -- > >>>>>>>>>> Read the docs: http://akka.io/docs/ <http://akka.io/docs/> > >>>>>>>>>> Check the FAQ: > >>>>>>>>>> http://doc.akka.io/docs/akka/current/additional/faq.html > >>>>>>>>>> <http://doc.akka.io/docs/akka/current/additional/faq.html> > >>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user > >>>>>>>>>> <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] > <mailto:[email protected]>. > To post to this group, send email to [email protected] > <mailto:[email protected]>. > Visit this group at http://groups.google.com/group/akka-user > <http://groups.google.com/group/akka-user>. > For more options, visit https://groups.google.com/d/optout > <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.
