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 5653D10E61 for ; Wed, 4 Sep 2013 21:25:34 +0000 (UTC) Received: (qmail 77979 invoked by uid 500); 4 Sep 2013 21:25:33 -0000 Delivered-To: apmail-activemq-users-archive@activemq.apache.org Received: (qmail 77955 invoked by uid 500); 4 Sep 2013 21:25:33 -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 77947 invoked by uid 99); 4 Sep 2013 21:25:33 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 21:25:33 +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.217.180 as permitted sender) Received: from [209.85.217.180] (HELO mail-lb0-f180.google.com) (209.85.217.180) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Sep 2013 21:25:29 +0000 Received: by mail-lb0-f180.google.com with SMTP id q8so951296lbi.11 for ; Wed, 04 Sep 2013 14:25:08 -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=wG1oBUKRG3VayoDqgnVnNNLCcI4w1SJu61VKiTflUDs=; b=azj8iyTRbzHqNdBfiRjhYTS/2rUarCUracVSmPLZNBP/gVYmcBK3cAwEWEn3GvyaoO egxOLfxMf8aEBNnp8hESH+KU16MSXdRVnAiZmds9hS97XECLRTShDxB4gbIxeH+I69kA K/nKbBMOoU1mHlN/0QVirlGBRnGwJ98qoZQr/JJMClwHXkkKsHys/FWcpusRAHBDjxN9 63/wfLOMzu7fn7ghpNYZSfK/M2/SJTltgmZqr844sucl6SIBuJDKkMFI/Z3PutrDi6o6 Ooysmmm7vrmwuAGmqcXQOZaOzKZodVKKiBBdvNyn/3ivTFGmNwyDmMZYoNloEz3KJD63 MT6Q== MIME-Version: 1.0 X-Received: by 10.112.168.3 with SMTP id zs3mr4157482lbb.2.1378329908483; Wed, 04 Sep 2013 14:25:08 -0700 (PDT) Received: by 10.114.2.239 with HTTP; Wed, 4 Sep 2013 14:25:08 -0700 (PDT) In-Reply-To: <1378291779553-4671148.post@n4.nabble.com> References: <1377857161040-4670977.post@n4.nabble.com> <1378283116908-4671129.post@n4.nabble.com> <1378291779553-4671148.post@n4.nabble.com> Date: Wed, 4 Sep 2013 14:25:08 -0700 Message-ID: Subject: Re: NIO transport performance for ActiveMQ From: Christian Posta To: "users@activemq.apache.org" Content-Type: multipart/alternative; boundary=001a11c33fe6941d0504e59570c0 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c33fe6941d0504e59570c0 Content-Type: text/plain; charset=ISO-8859-1 Yes, using the NIO transport vs regular blocking TCP will reduce the number of threads required per connection over large numbers of connections. I don't think you'll see much benefit with just one or two connections. If you have a case where you have lots of connections, and you don't see a difference between using regular TCP blocking transport, then please post the thread trace (pastebin). On Wed, Sep 4, 2013 at 3:49 AM, anujkhandelwal wrote: > Exactly !! Throughput is not the major concern but NIO is supposed to > decrease no. of threads because it is the main functionality of NIO. Can > someone from ActiveMQ team help me with this. > > > Thanks, > Anuj > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/NIO-transport-performance-for-ActiveMQ-tp4670977p4671148.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta --001a11c33fe6941d0504e59570c0--