Return-Path: X-Original-To: apmail-activemq-users-archive@www.apache.org Delivered-To: apmail-activemq-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 D6BA71063A for ; Fri, 6 Sep 2013 14:26:38 +0000 (UTC) Received: (qmail 44329 invoked by uid 500); 6 Sep 2013 14:26:38 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 43874 invoked by uid 500); 6 Sep 2013 14:26:37 -0000 Mailing-List: contact users-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@activemq.apache.org Delivered-To: mailing list users@activemq.apache.org Received: (qmail 43865 invoked by uid 99); 6 Sep 2013 14:26:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2013 14:26:35 +0000 X-ASF-Spam-Status: No, hits=2.8 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of christian.posta@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-la0-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Sep 2013 14:26:31 +0000 Received: by mail-la0-f45.google.com with SMTP id eh20so2805400lab.4 for ; Fri, 06 Sep 2013 07:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LL8cArwQwngmDU7O3vPzF/6VNrKl3ys9fT0pNNpfbO4=; b=h4x1NARe2LcI9ybq7BXBR7rtwv6L+P3kuay6S6Uli5Rld9NlFdnSGa7WTxk1hRht6X nN/H1sku5ijCCbrkxVX5PCX1lGrp2e35WhIASC3C27nmnZSgeTf24V1OPYjASV/H+VDB 8PI7lkobL+gciYr7F8ppwDY3LAph2JTN/DrCx+HJTwvATBl/deztR5bteb9QlG70CfXc ZcZJcSu9y8LH9U6r6I1iRNdqVbIsQzPI4tcoCZy22jyb7y2lJTQr1Oij+456/+pjn2k4 NqRM8yY95M4nVjhLCg750Z5vuIIOCM+XSPQIsrMSTXF596gIIkNYkoWJwAxP4UwbvQnW zXUw== MIME-Version: 1.0 X-Received: by 10.152.27.202 with SMTP id v10mr1490746lag.43.1378477569591; Fri, 06 Sep 2013 07:26:09 -0700 (PDT) Received: by 10.114.2.239 with HTTP; Fri, 6 Sep 2013 07:26:09 -0700 (PDT) In-Reply-To: <1378459418047-4671250.post@n4.nabble.com> References: <1377857161040-4670977.post@n4.nabble.com> <1378283116908-4671129.post@n4.nabble.com> <1378291779553-4671148.post@n4.nabble.com> <1378459418047-4671250.post@n4.nabble.com> Date: Fri, 6 Sep 2013 07:26:09 -0700 Message-ID: Subject: Re: NIO transport performance for ActiveMQ From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=089e0160a432ddd00f04e5b7d1a4 X-Virus-Checked: Checked by ClamAV on apache.org --089e0160a432ddd00f04e5b7d1a4 Content-Type: text/plain; charset=ISO-8859-1 johnbing==Anuj? same person posting all these under diff alias? funny shit.... so like i said, post your stack trace.. and also your config (broker + JVM args + client settings, etc), and we can help out more. NIO doesn't "reduce threads" magically in the overall broker... it reduces the number needed to sustain large numbers of connections. If you have other settings that create more threads in the broker core, then it's a wash right? On Fri, Sep 6, 2013 at 2:23 AM, johnbing wrote: > Yes I have also tested it with 20 producers consumers. But still not seeing > any reduction in the number of threads. I have tested NIO with STOMP as > well > as JMS producers. > > USING(Language) No. of threads before running producer No. of > threads after running producers(~20) > STOMP (PYTHON producer) 63 > 72 > STOMP +NIO(PYTHON producer) 67 > 82 > TCP(JAVA producer) 58 > 86 > NIO(JAVA producer) 58 > 87 > > Thanks, > Anuj > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/NIO-transport-performance-for-ActiveMQ-tp4670977p4671250.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --089e0160a432ddd00f04e5b7d1a4--