Re: Cassandra Java Driver and OpenJDK CRaC

2025-03-11 Thread Abe Ratnofsky
Hey Radim, thanks for bringing this to the list. In general, I'm supportive of the second option you shared ("Exposing neutral methods") but want to make sure I understand how CRaC would work in practice. Could you clarify this part: > Naturally it is possible to close the session object comple

Re: Cassandra Java Driver and OpenJDK CRaC

2025-03-11 Thread Patrick McFadin
Just speaking up as a supporter for considering this change. From a userland perspective, I've been reading up on CRaC, and I see this attacking some of the same requirements that Graal and Quarkus are trying to solve. This is a worth direction to pursue. The CqlSession will need to re-connect, an

Re: Cassandra Java Driver and OpenJDK CRaC

2025-03-11 Thread Radim Vansa
Hi Patrick, > attacking some of the same requirements that Graal and Quarkus are trying to solve thanks for the support! Yes, Graal (and Leyden) are kind of competing solutions for the startup problem. We're trying to hit the sweet spot between not requiring significant redesign (as is somet

Re: Cassandra Java Driver and OpenJDK CRaC

2025-03-11 Thread Radim Vansa
Hi Abe, I would expect that if the control connection is terminated, on the next request it would be re-established including the handshake you mention. This shouldn't be different from a connection being broken due to network error. In the POC PR I am calling just `DriverChannel.close()`, th

Re: Cassandra Java Driver and OpenJDK CRaC

2025-03-10 Thread Radim Vansa
Hello Josh, thanks for reaching back; answers inline: On 10. 03. 25 13:03, Josh McKenzie wrote: From skimming the PR on the Spring side and the conversation there, it looks like the argument is to have this live inside the java driver for Cassandra instead of in the spring-boot lib which I c

Re: Cassandra Java Driver and OpenJDK CRaC

2025-03-10 Thread Josh McKenzie
Thanks for reaching out to the list Radim; this is interesting stuff. >From skimming the PR on the Spring side and the conversation there, it looks >like the argument is to have this live inside the java driver for Cassandra >instead of in the spring-boot lib which I can see the argument for. I