How to test millions of channels?

154 views
Skip to first unread message

Samir Sabri

unread,
May 22, 2016, 2:09:33 AM5/22/16
to elixir-lang-talk
As was mentioned in the article The Road to 2 Million Websocket Connections in Phoenix at the phoenixframework's blog, how would I simulate the connections? can I do that via javascript client inside chrome?
How would I create virtual users?

Benjamin Scherrey

unread,
May 22, 2016, 4:48:04 AM5/22/16
to elixir-l...@googlegroups.com

Tsung is the tool we use for capacity /load/performance testing at scale. Apparently it does have websocket support as well https://github.com/processone/tsung/blob/master/examples/websocket.xml.in

  - - Ben Scherrey

On May 22, 2016 1:09 PM, "Samir Sabri" <as3...@gmail.com> wrote:
As was mentioned in the article The Road to 2 Million Websocket Connections in Phoenix at the phoenixframework's blog, how would I simulate the connections? can I do that via javascript client inside chrome?
How would I create virtual users?

--
You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/f1140ea7-9c62-47e4-824f-4621ba6f6129%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Samir Sabri

unread,
May 22, 2016, 5:13:55 AM5/22/16
to elixir-l...@googlegroups.com
Thank you

--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-talk/hInRx_jvZT4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-ta...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CACo3Shj60h7xj5wMLwcFfxGxQ5W7E132%3DbzVc8HrG3mhow9FSw%40mail.gmail.com.

For more options, visit https://groups.google.com/d/optout.



--
--
Kind Regards,
--------------------------------------------- 
Samir Sabri
Software Architect& Developer
Jordan-Middle East
Message has been deleted

Scott Ribe

unread,
May 28, 2016, 12:22:18 PM5/28/16
to elixir-l...@googlegroups.com
On May 24, 2016, at 10:01 AM, Samir Sabri <as3...@gmail.com> wrote:
>
> I tried to create the simulation in chrome, created about 400 sockets, but I got out of resources error.. is there any recommendation for proper testing inside browser?

There's no way in hell that a browser is going to be helpful in that scale of load testing--they are designed as single-user client applications, not massively concurrent load generators.

--
Scott Ribe
scott...@elevated-dev.com
http://www.elevated-dev.com/
https://www.linkedin.com/in/scottribe/
(303) 722-0567 voice





Samir Sabri

unread,
May 29, 2016, 7:58:19 AM5/29/16
to elixir-l...@googlegroups.com
I will try TSung, when I tried the browsers, I didn't know that TSung exists..

--
You received this message because you are subscribed to a topic in the Google Groups "elixir-lang-talk" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/elixir-lang-talk/hInRx_jvZT4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to elixir-lang-ta...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages