Re: purpose of queryStates map in ServerConnection

2020-05-28 Thread Chris Lohfink
I cant see your profiler image so I may be missing something. I remember looking at this in past too. At least with 3.x version of java client the stream ids are reused as released so low volume apps wont have much overhead and highly concurrent ones it prevents allocating 20-100k objs/sec. I thin

purpose of queryStates map in ServerConnection

2020-05-28 Thread Dmitry Konstantinov
Hello, Could you please help to understand the purpose of a particular part of code in Cassandra codebase: org.apache.cassandra.transport.ServerConnection#getQueryState https://github.com/apache/cassandra/blob/cassandra-3.11.6/src/java/org/apache/cassandra/transport/ServerConnection.java#L46 I not