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 2A896200B7F for ; Sun, 11 Sep 2016 13:10:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2905C160AD4; Sun, 11 Sep 2016 11:10:22 +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 94575160AAA for ; Sun, 11 Sep 2016 13:10:21 +0200 (CEST) Received: (qmail 4206 invoked by uid 500); 11 Sep 2016 11:10:20 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 4191 invoked by uid 99); 11 Sep 2016 11:10:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Sep 2016 11:10:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 8D6912C014D for ; Sun, 11 Sep 2016 11:10:20 +0000 (UTC) Date: Sun, 11 Sep 2016 11:10:20 +0000 (UTC) From: "Dmitry Karachentsev (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (IGNITE-3054) Rework client connection handling from thread-per-client to NIO model. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 11 Sep 2016 11:10:22 -0000 [ https://issues.apache.org/jira/browse/IGNITE-3054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15481566#comment-15481566 ] Dmitry Karachentsev commented on IGNITE-3054: --------------------------------------------- * Fixed review notes except the first one, because GridNioSession is always the same: that passed in onMessage() or used in right ClientNioMessageWorker. * Fixed SPI tests (added new method to TcpDiscoverySpi to handle sending messages to Session). * Some small fixes. * Working on failing SSL tests, error happens during SSL handshake. > Rework client connection handling from thread-per-client to NIO model. > ---------------------------------------------------------------------- > > Key: IGNITE-3054 > URL: https://issues.apache.org/jira/browse/IGNITE-3054 > Project: Ignite > Issue Type: Task > Components: general > Affects Versions: 1.5.0.final > Reporter: Vladimir Ozerov > Assignee: Dmitry Karachentsev > Fix For: 1.8 > > > Currently both servers and clients has the same operational model - thread-per-connection. While being more or less fine for servers, this could be a problem for clients when their total number is too high (e.g. 1000 or even more). > We should rework client handling model and employ standard NIO technique: one or several acceptor threads + thread pool to server requests. -- This message was sent by Atlassian JIRA (v6.3.4#6332)