HTTP connection type

30 views
Skip to first unread message

Ingwie Phoenix

unread,
Sep 15, 2014, 12:28:28 PM9/15/14
to nod...@googlegroups.com
Hey.

So I just used a benchmarking tool to see how well my app responds to a lot of requests. And whilst doing so, I noticed that I continously used Keep-alive connections. What are the advantages of it, why is it the default in nodejs? I was reading up on a page what it means and such…and wonder, would it be better to use „close“ instead?

Kind regards, Ingwie.

Ryan Schmidt

unread,
Sep 15, 2014, 8:38:53 PM9/15/14
to nod...@googlegroups.com

On Sep 15, 2014, at 10:36 AM, Ingwie Phoenix wrote:
>
> So I just used a benchmarking tool to see how well my app responds to a lot of requests. And whilst doing so, I noticed that I continously used Keep-alive connections. What are the advantages of it, why is it the default in nodejs? I was reading up on a page what it means and such…and wonder, would it be better to use „close“ instead?

http://en.wikipedia.org/wiki/HTTP_persistent_connection#Advantages

Reply all
Reply to author
Forward
0 new messages