Thanks Konrad - given the huge cost changes we are seeing - is there any 
tuning you would recommend in terms of dispatchers, etc for smoothing this 
or should I consider a different server even given the streaming 
infrastructure.

On Tuesday, October 17, 2017 at 11:26:13 AM UTC-4, Konrad Malawski wrote:
>
> Short lived connections are slightly more costly in Akka-HTTP than in 
> Spray, due to the streaming infrastructure.
>
> -- 
> Cheers,
> Konrad 'ktoso <http://kto.so>' Malawski
> Akka <http://akka.io/> @ Lightbend <http://lightbend.com/>
>
> On October 17, 2017 at 9:48:20, Gary Malouf (malou...@gmail.com 
> <javascript:>) wrote:
>
> Hi Konrad, 
>
> Understand your point - not really possible to share code on a 
> closed-source project.  I'm more asking if akka-http does not handle 
> short-lived connections very well yet as opposed to how spray handled 
> them.  I will be profiling in the mean-time trying to get to the bottom of 
> the issue.
>
> Gary
>
> On Thursday, October 12, 2017 at 8:44:55 PM UTC-4, Konrad Malawski wrote: 
>>
>> When asking about performance and benchmarks always include specific 
>> numbers, code, and benchmark methodology otherwise it’s just guessing and 
>> inventing numbers and reasons. 
>>
>> Thanks
>>
>> -- 
>> Konrad Malawski
>>
>> On October 13, 2017 at 5:36:06, Gary Malouf (malou...@gmail.com) wrote:
>>
>>> To be clear, 95th percentile and down are as low as before so wondering 
>>> if this is a new connection closing penalty being paid or if the actor 
>>> system needs to be tuned differently now...
>>>
>>> On Thursday, October 12, 2017 at 4:31:14 PM UTC-4, Gary Malouf wrote: 
>>>>
>>>> We have a web service that we just finished migrating from spray 1.3 to 
>>>> Akka-Http 10.0.9.  While in most cases it is performing well, we are 
>>>> seeing 
>>>> terrible 99th percentile latencies 300-450ms range) starting from a very 
>>>> low request rate (10/second) on an ec2 m3.large.  
>>>>
>>>> Our service does not do anything complicated - it does a few Map 
>>>> lookups and returns a response to a request.  In spray, even 99th 
>>>> percentile latencies were on the order of 1-3 ms, so we are definitely 
>>>> concerned.  Connections as with many pixel-type servers are short-lived -> 
>>>> we actually pass the Connection: Close header intentionally in our 
>>>> responses.  
>>>>
>>>> Is there any obvious tuning that should be done on the server 
>>>> configuration that others have found?
>>>>
>>> --
>>> >>>>>>>>>> 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+...@googlegroups.com.
>>> To post to this group, send email to akka...@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+...@googlegroups.com <javascript:>.
> To post to this group, send email to akka...@googlegroups.com 
> <javascript:>.
> 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