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