Hi, You are saying "there would be errors", is this something you have seen or are you speculating about the behavior under load? And if it is something seen, what are those errors?
-- Johan On Sun, Jul 10, 2016 at 7:25 PM, Sang Dang <[email protected]> wrote: > I think you could limit your thread pool of request handler. > > > On Tuesday, June 28, 2016 at 5:08:24 PM UTC+7, Jingxiao Gu wrote: >> >> Hi, everyone >> I came into a problem. For example, My server can maintain 100-150 http >> connections at the same time. If I send 1000 http requests >> asynchronously(using dispatch) at the same time, there would be errors >> because the server can't handle that much at a time. So, is there a way >> such that when the amount of http connection is over 100, we can block/wait >> until some connections are released? >> >> Thanks! >> > -- > >>>>>>>>>> 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. > -- >>>>>>>>>> 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.
