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 9D14191D2 for ; Thu, 29 Mar 2012 19:30:43 +0000 (UTC) Received: (qmail 59598 invoked by uid 500); 29 Mar 2012 19:30:43 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 59563 invoked by uid 500); 29 Mar 2012 19:30:43 -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 59552 invoked by uid 99); 29 Mar 2012 19:30:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2012 19:30:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Mar 2012 19:30:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4FB4534DFE4 for ; Thu, 29 Mar 2012 19:30:22 +0000 (UTC) Date: Thu, 29 Mar 2012 19:30:22 +0000 (UTC) From: "Harish Doddi (Commented) (JIRA)" To: commits@cassandra.apache.org Message-ID: <1037913471.34376.1333049422327.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1468262105.38882.1329267839402.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-3911) Basic QoS support for helping reduce OOMing cluster 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-3911?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13241543#comment-13241543 ] Harish Doddi commented on CASSANDRA-3911: ----------------------------------------- Comments from brandon through IRC ================================== 1. Move all the qos validations to Thrift validator class possibly. 2. Have validation on cql side (QP validation) 3. Possible renaming of "QoS" to something else. > Basic QoS support for helping reduce OOMing cluster > --------------------------------------------------- > > Key: CASSANDRA-3911 > URL: https://issues.apache.org/jira/browse/CASSANDRA-3911 > Project: Cassandra > Issue Type: Improvement > Reporter: Chris Goffinet > Assignee: Harish Doddi > Priority: Minor > Fix For: 1.2 > > Attachments: CASSANDRA-3911-trunk.txt > > > We'd like to propose adding some basic QoS features to Cassandra. There can be a lot to be done here but for v1 to keep things less invasive, and still provide basics we would like to contribute the following features and see if the community thinks this is OK. > We would set these on server (cassandra.yaml). If threshold is crossed, we throw an exception up to the client. > 1) Limit how many rows a client can fetch over RPC through multi-get. > 2) Limit how many columns may be returned (if count > N) throw exception before processing. > 3) Limit how many rows and columns a client can try to batch mutate. > This can be added in our Thrift logic, before any processing can be done. The big reason why we want to do this, is so that customers don't shoot themselves in the foot, by making mistakes or not knowing how many columns they might have returned. > We can build logic like this into a basic client, but I propose one of the features we might want in Cassandra is support for not being able to OOM a node. We've done lots of work around memtable flushing, dropping messages, etc. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira