[
https://issues.apache.org/jira/browse/CASSANDRA-9230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14509547#comment-14509547
]
Vishy Kasar commented on CASSANDRA-9230:
----------------------------------------
Yes, in the case described above.
We also have other use cases where a given client connects to a limited set of
cassandra nodes. So we can not always assume that the first client has prepared
all the statements on all the cassandra nodes. We also have cases where number
of prepared statements is much larger. Bulk prepare helps in all such cases.
> 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
> statements with one round trip to server.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)