Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 89F4C18136 for ; Tue, 20 Oct 2015 23:03:28 +0000 (UTC) Received: (qmail 60075 invoked by uid 500); 20 Oct 2015 23:03:28 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 60042 invoked by uid 500); 20 Oct 2015 23:03:27 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 60020 invoked by uid 99); 20 Oct 2015 23:03:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Oct 2015 23:03:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id B5CC62C1F6A for ; Tue, 20 Oct 2015 23:03:27 +0000 (UTC) Date: Tue, 20 Oct 2015 23:03:27 +0000 (UTC) From: "stack (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-14479) Apply the Leader/Followers pattern to RpcServer's Reader MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-14479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14965933#comment-14965933 ] stack commented on HBASE-14479: ------------------------------- bq. In this jira issue, the benefit is not from this main advantage because we just add the requests to queues. Yeah, in a new issue, should we pull out the queue... Or, rather, I suppose in a follow-on I could experiment with removing queues to see if it buys us throughput. If it does, then we could look into redoing scheduling so it was like the 'Bound handle/thread association' from the paper. Thanks for looking at the WAL [~ikeda] I have a sense that this pattern might help with the multiple-syncing threads... but let me try. > Apply the Leader/Followers pattern to RpcServer's Reader > -------------------------------------------------------- > > Key: HBASE-14479 > URL: https://issues.apache.org/jira/browse/HBASE-14479 > Project: HBase > Issue Type: Improvement > Components: IPC/RPC, Performance > Reporter: Hiroshi Ikeda > Assignee: Hiroshi Ikeda > Priority: Minor > Attachments: HBASE-14479-V2 (1).patch, HBASE-14479-V2.patch, HBASE-14479-V2.patch, HBASE-14479.patch, gc.png, gets.png, io.png, median.png > > > {{RpcServer}} uses multiple selectors to read data for load distribution, but the distribution is just done by round-robin. It is uncertain, especially for long run, whether load is equally divided and resources are used without being wasted. > Moreover, multiple selectors may cause excessive context switches which give priority to low latency (while we just add the requests to queues), and it is possible to reduce throughput of the whole server. -- This message was sent by Atlassian JIRA (v6.3.4#6332)