You can try this client https://github.com/doubaokun/node-ab

On Sun, May 5, 2013 at 5:33 PM, Afshin Mehrabani <[email protected]>wrote:

> Do you have sample of that? I'm newbie.
>
> In this example of C10K in Django, he used websocket for simulating this
> 10,000 clients: https://github.com/aaugustin/django-c10k-demo
> So I think it's possible in NodeJs also.
>
> On Sunday, May 5, 2013 2:00:56 PM UTC+4:30, Alex Kocharin wrote:
>
>>
>> I'm not sure http library allows it, but you can always open 10k raw tcp
>> sockets and write a request there at the same time... what do you need
>> websocket for?
>>
>> --
>> // alex
>>
>>
>> 05.05.2013, 13:25, "Afshin Mehrabani" <[email protected]>:
>>
>> Actually I want to write a client to simulate this 10,000 concurrent
>> clients. I saw this C10K demo in django: https://github.com/**
>> aaugustin/django-c10k-demo<https://github.com/aaugustin/django-c10k-demo>
>>
>> And I want to do something like that. Is that possible via websocket?
>>
>> On Sunday, May 5, 2013 12:16:28 PM UTC+4:30, Ben Noordhuis wrote:
>>
>> On Sun, May 5, 2013 at 6:54 AM, Afshin Mehrabani <[email protected]>
>> wrote:
>> > Hello all,
>> >
>> > I want to prepare a C10K demo in NodeJs but I don't have any idea how.
>> Could
>> > someone say how can I prepare a C10K demo in NodeJs HTTP Server (or
>> maybe
>> > with expressjs)
>> >
>> > Thanks,
>> > Afshin
>>
>> What do you want to demo besides 10K concurrent clients?  If you only
>> want to demonstrate that node.js can handle that many connections,
>> copy the example from the home page and hit it with `ab -k -c 10000 -n
>> <big number> <url>`.
>>
>>
>> --
>> --
>> Job Board: http://jobs.nodejs.org/
>> Posting guidelines: https://github.com/joyent/**node/wiki/Mailing-List-**
>> 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
>> nodejs+un...@**googlegroups.com
>>
>> For more options, visit this group at
>> http://groups.google.com/**group/nodejs?hl=en?hl=en<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 nodejs+un...@**googlegroups.com.
>>
>> For more options, visit 
>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>> .
>>
>>
>>
>>  --
> --
> 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.
>
>
>



-- 
A decathlon Developer & programmer
http://blog.eood.cn/

-- 
-- 
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