Recently I was load testing with mp3 streaming server. I order to test I
need a long lasting connection. Buy default  agent.maxSockets set to 5.
(that is too small for me)

In my load test I set it to 50 and it works without any problem.


On Sun, Apr 21, 2013 at 10:56 AM, Jed Wood <[email protected]> wrote:

> Thanks Gabriel (and James).
>
> Also just to clarify for future readers, I actually meant 
> agent.maxSockets<http://nodejs.org/api/http.html#http_agent_maxsockets>
>
> -Jed
>
>
> On Thursday, April 18, 2013 3:09:30 PM UTC-5, Jed Wood wrote:
>>
>> When is it wise to raise the default 
>> Agent.maxConnections<http://nodejs.org/api/net.html#net_server_maxconnections>limit
>>  from 5? What are the risks/tradeoffs?
>>
>> The discussions/opinions I found on this are pretty old, and even within
>> those answers I couldn't find a clear answer.
>>
>> I have a simple server that is largely a proxy and aggregator for an
>> external API. Each call to my app makes several parallel calls to the
>> external API. My server is otherwise doing nothing else to tax the CPU or
>> raise memory, so I'm inclined to bump up the limit so as not to start
>> blocking once I have just 3 or 4 connections. What can potential problems
>> can I expect?
>>
>> Thanks,
>> -Jed
>>
>  --
> --
> Job Board: http://jobs.nodejs.org/
> Posting guidelines:
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/nodejs?hl=en?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "nodejs" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Arunoda Susiripala

@arunoda <http://twitter.com/arunoda>
<http://gplus.to/arunoda>https://github.com/arunoda
http://www.linkedin.com/in/arunoda

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to