Return-Path: Delivered-To: apmail-mina-dev-archive@www.apache.org Received: (qmail 56607 invoked from network); 8 Dec 2009 01:52:42 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Dec 2009 01:52:42 -0000 Received: (qmail 4027 invoked by uid 500); 8 Dec 2009 01:52:42 -0000 Delivered-To: apmail-mina-dev-archive@mina.apache.org Received: (qmail 3941 invoked by uid 500); 8 Dec 2009 01:52:41 -0000 Mailing-List: contact dev-help@mina.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mina.apache.org Delivered-To: mailing list dev@mina.apache.org Received: (qmail 3931 invoked by uid 99); 8 Dec 2009 01:52:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 01:52:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 Dec 2009 01:52:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 20120234C052 for ; Mon, 7 Dec 2009 17:52:18 -0800 (PST) Message-ID: <167807740.1260237138110.JavaMail.jira@brutus> Date: Tue, 8 Dec 2009 01:52:18 +0000 (UTC) From: "chuanwen chen (JIRA)" To: dev@mina.apache.org Subject: [jira] Commented: (DIRMINA-668) Modify the way we use IoProcessors In-Reply-To: <214452464.1236556316193.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRMINA-668?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12787249#action_12787249 ] chuanwen chen commented on DIRMINA-668: --------------------------------------- Sorry, my mistake, it is 1.x in my hand > Modify the way we use IoProcessors > ---------------------------------- > > Key: DIRMINA-668 > URL: https://issues.apache.org/jira/browse/DIRMINA-668 > Project: MINA > Issue Type: Improvement > Affects Versions: 2.0.0-M4 > Reporter: Emmanuel Lecharny > Fix For: 3.0.0-M1 > > > In the current code base, when accepting new connections, we pick a processor and register the news connection within the internal selector. In other words, we have as many selectors as we have IoProcessors. > This is a potential problem if some request cost a lot to be executed, as every requests waiting on this IoProcessor will be blocked. > It would be way better to use a single selector which dispatches requests to an Executor, as we will always have available threads ready to process the requests (unless the pool is saturated, but then we have a bigger issue ...) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.