utking commented on issue #845:
URL: 
https://github.com/apache/cassandra-gocql-driver/issues/845#issuecomment-3555081563

   @OleksiienkoMykyta,
   
   We have a Cassandra v4 cluster with 3 nodes carrying ~3TB of data, and 
switching from Java version with raw queries to Go version where everything is 
prepared has dramatically increased using (and flushing) the prep statements 
cache. The Go version significantly increased CPU usage (~90% across all the 
cores) read/write and resulted in OS LoadAverage from 10 to 30, while with the 
Java version it was 2-5 for the same workloads (switching back to the Java 
version, confirmed that the LoadAverage goes down immediately).
   We optimized the queries to make them all prepare-able - it helped with the 
prepares statements' cache, but the CPU usage and read/write volume/latency are 
still higher and the LoadAverage is high with them (from 10 to 30).
   Though it not an issue under "normal" load, a more heavier use, clearly, 
hurts the cluster performance considerably.
   Do you need some more data about our case?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to