Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2856D200CB3 for ; Mon, 26 Jun 2017 17:49:40 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 27478160BDE; Mon, 26 Jun 2017 15:49:40 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 6DADE160BD9 for ; Mon, 26 Jun 2017 17:49:39 +0200 (CEST) Received: (qmail 11222 invoked by uid 500); 26 Jun 2017 15:49:38 -0000 Mailing-List: contact dev-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list dev@activemq.apache.org Received: (qmail 11210 invoked by uid 99); 26 Jun 2017 15:49:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Jun 2017 15:49:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id C863B188ACA for ; Mon, 26 Jun 2017 15:49:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -2.397 X-Spam-Level: X-Spam-Status: No, score=-2.397 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-2.796, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 57dYwKye5rDM for ; Mon, 26 Jun 2017 15:49:35 +0000 (UTC) Received: from mail-vk0-f44.google.com (mail-vk0-f44.google.com [209.85.213.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 8596B5F6C8 for ; Mon, 26 Jun 2017 15:49:35 +0000 (UTC) Received: by mail-vk0-f44.google.com with SMTP id r126so2935285vkg.0 for ; Mon, 26 Jun 2017 08:49:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=qZH0/VtAzl8ReoFV2r+sW5j5LmH6pM5HQRo95NiyCCo=; b=omu6k8aiPQkOuqYhuGafSxAC1rRdETgDK/UiFb3O+T/IONxbborNCvzcW85eoPIUZA DHTjZBGqdEFPaAhLdWYDTSYB1uDVboOeDb4by8n46HcLVlzdjzj2AZ/TIEjgy3rgv1vC 5I41KTZmsa3nGj5jxSsdBzsxoNJuH3l9Pqc84PsLpQ15O705+Vuf3OS1daMOSuoHuPg6 PBSj+EHWrpnG3fdB7uACKK7X/zyd2bNLHaih0QGi74YzxNvJx/JDR6cZD9khq/X5z705 Yy1b7sYe2cHXe1nYh+n6whu03nxIgoofsIm5wgXJvuBOh4lHFAdXg9JrKp7AnC3NjCB/ nxWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=qZH0/VtAzl8ReoFV2r+sW5j5LmH6pM5HQRo95NiyCCo=; b=U9iFHveiXFE2V0Kff22LEAL7UdcxY4GXTpZ5KdZK9jk23i7MHskCGCH/++iIWlGoom 4Y/UBjCKAFqi4SPxZv9Fow5JJfCTCHscLUWmjHjzB7yXEw/Ck3QXcrNcAEwNP8uBC7sB lzWEJ6re7D8gwmI+hCCqWYm8kcdFBPlLvesuVxKsvBUBy+JOQBT5h4IQfqG0Qo9tvIdQ hSGY4t4MrBSHCnhayINV7/tRgIx28s/3ITu++Yltw93Gvt+Mra/mjDM5cx67NK1iXoVO 6k7TEMu53u52zlAAUdo9UnD3eHn88MQZXPpTNV8lxD4OPdSrd4O7ar6/hD/ec9tKIAsY QkNA== X-Gm-Message-State: AKS2vOzSryP6LK22m/8JHSifFwzVxzxh7r/my+4UuZJBusglSkbSWajG 62s0S82iHRgnAf2YhN/YWkQzh6BPnNTW4D4= X-Received: by 10.31.72.69 with SMTP id v66mr468773vka.68.1498492168701; Mon, 26 Jun 2017 08:49:28 -0700 (PDT) MIME-Version: 1.0 Received: by 10.31.81.132 with HTTP; Mon, 26 Jun 2017 08:49:28 -0700 (PDT) In-Reply-To: References: From: Jeff Mesnil Date: Mon, 26 Jun 2017 17:49:28 +0200 Message-ID: Subject: Re: Usage of Artemis threads To: dev@activemq.apache.org Content-Type: text/plain; charset="UTF-8" archived-at: Mon, 26 Jun 2017 15:49:40 -0000 On Mon, Jun 26, 2017 at 4:04 PM, Clebert Suconic wrote: >> * some org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnector >> => what's their use? > > does this answer this? or you're looking for something beyond of that? Something a bit beyond that. At first glance, these threads are use to write (and flush) data sent by the InVM connection. >> * some ActiveMQ-remoting-threads-ActiveMQServerImpl::serverUUID=xxxxx >> => what's their use? > > > The general pool on the server's... similar code from the previous... Are you sure? these threads are created by the RemotingService's thread factory (when the RemotingServiceImpl is started). They are passed to the AcceptorFactory's createAcceptor method. Netty implementation does not use it. InVM implementation does use it. If I look at https://github.com/apache/activemq-artemis/blob/b50ae5a916e613ef43a86b8b995b84dc9a069a82/artemis-server/src/main/java/org/apache/activemq/artemis/core/remoting/impl/invm/InVMConnector.java#L183-L185, I see that the The Connection uses the acceptor's thread pool as its server executor and the InVMConnector's thread pool as its client executor. Is that correct? to sum up, it seems to me that ActiveMQ-remoting-threads are threads used by in-vm acceptor and org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnector by in-vm connector. i.e. they are thread pools for resp. in-vm server and client execution. > I thought those method facilities.. serviceRegistry and the general > pool were being used by the integration at Wildfly. I have a long-standing task to do it (and some work in a branch about that) but it's not in WildFly master branch yet. thanks for the info clebert, if you can confirm my explanation above, I'll have all the info I need. jeff -- Jeff Mesnil jmesnil@gmail.com http://jmesnil.net/weblog/