Return-Path: Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: (qmail 58892 invoked from network); 29 Apr 2010 21:39:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 29 Apr 2010 21:39:18 -0000 Received: (qmail 89964 invoked by uid 500); 29 Apr 2010 21:39:17 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 89947 invoked by uid 500); 29 Apr 2010 21:39:17 -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 89939 invoked by uid 99); 29 Apr 2010 21:39:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 21:39:17 +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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Apr 2010 21:39:15 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o3TLcrXp013059 for ; Thu, 29 Apr 2010 21:38:54 GMT Message-ID: <24511085.19291272577133850.JavaMail.jira@thor> Date: Thu, 29 Apr 2010 17:38:53 -0400 (EDT) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Subject: [jira] Commented: (CASSANDRA-1035) Implement User/Keyspace throughput Scheduler In-Reply-To: <17623898.8461272561235266.JavaMail.jira@thor> 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/CASSANDRA-1035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12862428#action_12862428 ] Jonathan Ellis commented on CASSANDRA-1035: ------------------------------------------- of course that assumes each app is doing the same amount of work per SP call, which is dubious in the presence of mutliget + batch_mutate. > Implement User/Keyspace throughput Scheduler > -------------------------------------------- > > Key: CASSANDRA-1035 > URL: https://issues.apache.org/jira/browse/CASSANDRA-1035 > Project: Cassandra > Issue Type: Improvement > Reporter: Stu Hood > > To support multiple applications on top of a single Cassandra cluster (and to protect against badly behaving clients) having a very simple scheduler for MUTATION-STAGE and READ-STAGE would be very beneficial. > Since all tasks are short lived, a sufficient scheduler would probably only need to manage the queue of incoming requests, and weight them based on an assigned ID. The ID could be dynamically determined by using ip, userid or keyspace for instance, and then each Runnable would be assigned an ID. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.