Re: Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-15 Thread Mark Thomas
On 13/02/2013 15:19, Amit Bhagra wrote: I am developing a tomcat application which requires a large number of websocket connections to remain opened during the time users are logged in (around 40-50 thousand). I have a ruby script (written using faye-websocket) which can

RE: Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-14 Thread Amit Bhagra
numbers Regards Amit -Original Message- From: Carrillo, Dan [mailto:dcarri...@idanalytics.com] Sent: Wednesday, February 13, 2013 8:54 PM To: Tomcat Users List Subject: RE: Achieve large number of concurrent websocket connections (~4-5) You should consider setting up a cluster

Re: Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-14 Thread Vijaya
Users List' Subject: RE: Achieve large number of concurrent websocket connections (~4-5) Hi Carrillo Thanks for the answer. I will certainly look into clustering options once I know the maximum connection limit achievable from a single instance of tomcat. I was wondering if anyone else has

RE: Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-13 Thread Carrillo, Dan
You should consider setting up a cluster of Tomcat's to service your requests. With 40-50 thousand concurrent connections you're likely to need to balance the load anyway. Are you familiar with setting up a Tomcat cluster? -Original Message- From: Amit Bhagra

Re: Achieve large number of concurrent websocket connections (~40000-50000)

2013-02-13 Thread Charles Richard
Hi, Not sure if this is the same issue but I believe you might need the tcp_tw_reuse and tcp_tw_recycle parameters in /proc/sys/net/ipv4 to be at a value of 1? Since you already achieved 1 connections, I'm thinking it's probably something else though. Cheers, Charles On Wed, Feb 13, 2013