Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D875E1849B for ; Thu, 9 Jul 2015 17:28:04 +0000 (UTC) Received: (qmail 30077 invoked by uid 500); 9 Jul 2015 17:28:04 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 30042 invoked by uid 500); 9 Jul 2015 17:28:04 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 30029 invoked by uid 99); 9 Jul 2015 17:28:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2015 17:28:04 +0000 Date: Thu, 9 Jul 2015 17:28:04 +0000 (UTC) From: "Tyler Hobbs (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-9772) Bound the number of concurrent range requests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tyler Hobbs created CASSANDRA-9772: -------------------------------------- Summary: Bound the number of concurrent range requests Key: CASSANDRA-9772 URL: https://issues.apache.org/jira/browse/CASSANDRA-9772 Project: Cassandra Issue Type: Improvement Components: Core Reporter: Tyler Hobbs Assignee: Tyler Hobbs Fix For: 2.1.x, 2.2.x After CASSANDRA-1337, we will execute requests for many token ranges concurrently based on our estimate of how many ranges will be required to meet the requested LIMIT. For queries with a lot of results this is generally fine, because it will only take a few ranges to satisfy the limit. However, for queries with very few results, this may result in the coordinator concurrently requesting all token ranges. On large vnode clusters, this will be particularly problematic. Placing a simple bound on the number of concurrent requests is a good first step. Long-term, we should look into creating a new range command that supports requesting multiple ranges. This would eliminate the overhead of serializing and handling hundreds of separate commands. -- This message was sent by Atlassian JIRA (v6.3.4#6332)