I am ussing express-cassandra together with express web server and I have several async select/update/inserts tied to various REST apis. I have discovered that the initial connection to Cassandra takes some 20 seconds, after which everything is fast and all operations are executed right away. Is there a way I can check when the actual connection is established and could be the reason for such behaviour. My webserver and Cassandra run inside containers.
I am ussing express-cassandra together with express web server and I have several async select/update/inserts tied to various REST apis. I have discovered that the initial connection to Cassandra takes some 20 seconds, after which everything is fast and all operations are executed right away. Is there a way I can check when the actual connection is established and could be the reason for such behaviour. My webserver and Cassandra run inside containers.