Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 873CCFFC3 for ; Tue, 6 Aug 2013 12:23:14 +0000 (UTC) Received: (qmail 58008 invoked by uid 500); 6 Aug 2013 12:23:11 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 57944 invoked by uid 500); 6 Aug 2013 12:23:11 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 57932 invoked by uid 99); 6 Aug 2013 12:23:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 12:23:10 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bob.deremer@thingworx.com designates 207.46.163.210 as permitted sender) Received: from [207.46.163.210] (HELO na01-bl2-obe.outbound.protection.outlook.com) (207.46.163.210) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Aug 2013 12:23:03 +0000 Received: from BLUPR06MB193.namprd06.prod.outlook.com (10.242.191.143) by BLUPR06MB196.namprd06.prod.outlook.com (10.242.191.151) with Microsoft SMTP Server (TLS) id 15.0.731.12; Tue, 6 Aug 2013 12:22:23 +0000 Received: from BLUPR06MB193.namprd06.prod.outlook.com ([169.254.13.15]) by BLUPR06MB193.namprd06.prod.outlook.com ([169.254.13.15]) with mapi id 15.00.0731.000; Tue, 6 Aug 2013 12:22:22 +0000 From: Bob DeRemer To: Tomcat Users List Subject: RE: Is the current Tomcat 7 servlet websocket implementation being deprecated? Thread-Topic: Is the current Tomcat 7 servlet websocket implementation being deprecated? Thread-Index: Ac6SRrKFlSBxkGx5TuWKxoMHtF0/nQANCDWAAAkhGGA= Date: Tue, 6 Aug 2013 12:22:21 +0000 Message-ID: <3fdc730623904be4a1dc7842534e3fb6@BLUPR06MB193.namprd06.prod.outlook.com> References: <2acf9b8a99ab446898682e4ae3613675@BLUPR06MB193.namprd06.prod.outlook.com> <5200ACCB.1090607@apache.org> In-Reply-To: <5200ACCB.1090607@apache.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [98.237.127.73] x-forefront-prvs: 0930AAFAD9 x-forefront-antispam-report: SFV:NSPM;SFS:(252514010)(51914003)(24454002)(479174003)(377454003)(199002)(13464003)(189002)(51704005)(74706001)(33646001)(83322001)(19580405001)(19580395003)(76576001)(74316001)(63696002)(76796001)(74662001)(49866001)(76786001)(31966008)(79102001)(81542001)(81342001)(80022001)(77096001)(53806001)(74366001)(56816003)(16406001)(77982001)(59766001)(47446002)(74502001)(47976001)(74876001)(50986001)(54356001)(80976001)(46102001)(4396001)(47736001)(69226001)(56776001)(66066001)(76482001)(54316002)(83072001)(51856001)(65816001)(24736002);DIR:OUT;SFP:;SCL:1;SRVR:BLUPR06MB196;H:BLUPR06MB193.namprd06.prod.outlook.com;CLIP:98.237.127.73;RD:InfoNoRecords;A:1;MX:1;LANG:en; Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: thingworx.com X-Virus-Checked: Checked by ClamAV on apache.org > -----Original Message----- > From: Mark Thomas [mailto:markt@apache.org] > Sent: Tuesday, August 06, 2013 3:59 AM > To: Tomcat Users List > Subject: Re: Is the current Tomcat 7 servlet websocket implementation bei= ng > deprecated? >=20 > On 06/08/2013 03:54, Bob DeRemer wrote: > > I've seen some mention on the user and dev mailing lists that the > > current servlet-based websocket implementation will be deprecated due > > to the implementation of the JSR-356. We are currently implementing a > > Tomcat 7-based websocket server implementation that we hoped could > > scale up to at least 50K concurrent connections [or more], but are > > concerned if there are any known issues and/or limitations with the > > websocket implementation in Tomcat 7. >=20 > No known issues or limitations but the JSR-356 will be ported to 7.0.x an= d the > current WebSocket implementation deprecated shortly (hopefully in the nex= t > few weeks). >=20 > > We are currently trying to test how high Tomcat 7 will scale with > > regards to the maximum number of concurrent websocket connections, but > > have already hit some problems with only 200+ concurrent connections. > > Perhaps it's our multi-threaded client, or Tomcat configuration - not > > sure at this point. We have the Tomcat Connector configured with > > maxConnections=3D50000 and maxThreads=3D1000, so 200 concurrent > > connections shouldn't be a problem. >=20 > It should scale but won't scale as well as the JSR-356 implementation is = the > current Tomcat 7 implementation is blocking within a frame. >=20 > > If anyone could elaborate on the Tomcat 7 servlet websocket > > implementation stability from a highly concurrent aspect that would be > > great. Additionally, if anyone has achieved 10(s) of 1000(s) of > > concurrent websocket connections with Tomcat 7, can you share how > > Tomcat was configured, what OS it was running on, and what client > > library you used in testing this? >=20 > I don't have any references for that but will be adding something to the = unit > tests. >=20 > Mark >=20 Thanks for the information. If you have an reference examples for server-s= ide code based on JSR356, as well as a drop of Tomcat that supports it, tha= t would be a good place to start. >=20 > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org