[
https://issues.apache.org/jira/browse/CASSANDRA-9230?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vishy Kasar updated CASSANDRA-9230:
-----------------------------------
Description:
We have a few cases like this:
1. Large (40K) clients
2. Each client preparing the same 10 prepared statements at the start up and on
reconnection to node
3. Small(ish) number (24) of cassandra nodes
The statement need to be prepared on a casasndra node just once but currently
it is prepared 40K times at startup.
https://issues.apache.org/jira/browse/CASSANDRA-8831 will make the situation
much better. A further optimization is to allow clients to create not-yet
prepared statements in bulk.This way, client can prepare all the not yet
prepared statements with one round trip to server.
was:
We have a few cases like this:
1. Large (40K) clients
2. Each client preparing the same 10 prepared statements at the start up and on
reconnection to node
3. Small(ish) number (24) of cassandra nodes
The statement need to be prepared on a casasndra node just once but currently
it is prepared 40K times at startup.
https://issues.apache.org/jira/browse/CASSANDRA-8831 will make the situation
much better. A further optimization is to allow clients to create not yet
prepared statements in bulk.This way, client can prepare all the not yet
statements with one round trip to server.
> Allow preparing multiple prepared statements at once
> ----------------------------------------------------
>
> Key: CASSANDRA-9230
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9230
> Project: Cassandra
> Issue Type: New Feature
> Components: Core
> Reporter: Vishy Kasar
> Priority: Minor
> Labels: ponies
>
> We have a few cases like this:
> 1. Large (40K) clients
> 2. Each client preparing the same 10 prepared statements at the start up and
> on reconnection to node
> 3. Small(ish) number (24) of cassandra nodes
> The statement need to be prepared on a casasndra node just once but currently
> it is prepared 40K times at startup.
> https://issues.apache.org/jira/browse/CASSANDRA-8831 will make the situation
> much better. A further optimization is to allow clients to create not-yet
> prepared statements in bulk.This way, client can prepare all the not yet
> prepared statements with one round trip to server.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)