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 EAA57195CE for ; Thu, 14 Apr 2016 18:27:25 +0000 (UTC) Received: (qmail 32497 invoked by uid 500); 14 Apr 2016 18:27:25 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 32464 invoked by uid 500); 14 Apr 2016 18:27:25 -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 32452 invoked by uid 99); 14 Apr 2016 18:27:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 14 Apr 2016 18:27:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 69F1F2C1F4E for ; Thu, 14 Apr 2016 18:27:25 +0000 (UTC) Date: Thu, 14 Apr 2016 18:27:25 +0000 (UTC) From: "Robert Stupp (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-11555) Make prepared statement cache size configurable 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/CASSANDRA-11555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Stupp updated CASSANDRA-11555: ------------------------------------- Status: Patch Available (was: Open) [branch|https://github.com/apache/cassandra/compare/trunk...snazy:11555-pstmt-cache-config-trunk] [testall|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-11555-pstmt-cache-config-trunk-testall/lastBuild/] [dtest|http://cassci.datastax.com/view/Dev/view/snazy/job/snazy-11555-pstmt-cache-config-trunk-dtest/lastBuild/] > Make prepared statement cache size configurable > ----------------------------------------------- > > Key: CASSANDRA-11555 > URL: https://issues.apache.org/jira/browse/CASSANDRA-11555 > Project: Cassandra > Issue Type: Improvement > Reporter: Robert Stupp > Assignee: Robert Stupp > Priority: Minor > > The prepared statement caches in {{org.apache.cassandra.cql3.QueryProcessor}} are configured using the formula {{Runtime.getRuntime().maxMemory() / 256}}. Sometimes applications may need more than that. Proposal is to make that value configurable - probably also distinguish thrift and native CQL3 queries (new applications don't need the thrift stuff). -- This message was sent by Atlassian JIRA (v6.3.4#6332)