[Libwebsockets] regarding maximum concurrent connections
andy at warmcat.com
Sun Jul 17 13:33:37 CEST 2016
On July 17, 2016 6:31:30 PM GMT+08:00, "Suman.Patro-TRN" <Suman.Patro-TRN at lntebg.com> wrote:
>Yes, I had tried with the master branch and hence have got those
Really? What git hash of lws are you using?
>results. I need something that I could atleast increase the number of
>connections to 1000.
>Thanks and regards,
>From: Andy Green <andy at warmcat.com>
>Sent: Sunday, July 17, 2016 3:19 PM
>To: Suman.Patro-TRN; libwebsockets at ml.libwebsockets.org
>Subject: Re: [Libwebsockets] regarding maximum concurrent connections
>On July 17, 2016 1:53:36 PM GMT+08:00, "Suman.Patro-TRN"
><Suman.Patro-TRN at lntebg.com> wrote:
>>I run the libwebsockets-test-server.exe and connect the client of
>>dumb-increment protocol and monitor the number of maximum client
>>connections that could be made to the server. I get maximum of 20
>>browser clients that can get connected(i.e 20 browser tabs with each
>>tab showing 5 requests). So according to this , how do I calculate max
>>no. of client connections? and If I would like to increase number of
>>connections , what do I need to do? I work on windows system.
>On master, a couple of guys contributed improvements past the default
>64-connection limit windows has. So try master branch. Linux has no
>>One more observation over which I am confused is using chrome's
>>developer tools I monitor the requests and what I see is per browser
>>client, number of requests are 5 but connection id of websocket
>>requests are same, how is this possible? Because for every client this
>>id should be unique.?
>I have no idea what a 'connection id' means to you, but it has no
>special meaning in websockets, lws or tcp, so...
>>I have attached a word file for viewing the connection ids.
>>Thanks and regards,
>>Larsen & Toubro Limited
>>This Email may contain confidential or privileged information for the
>>intended recipient (s). If you are not the intended recipient, please
>>do not use or disseminate the information, notify the sender and
>>it from your system.
>>Libwebsockets mailing list
>>Libwebsockets at ml.libwebsockets.org
>Larsen & Toubro Limited
>This Email may contain confidential or privileged information for the
>intended recipient (s). If you are not the intended recipient, please
>do not use or disseminate the information, notify the sender and delete
>it from your system.
More information about the Libwebsockets