How to connect to a Cassandra across Pm2 multiple Node.js instances

QuestionsHow to connect to a Cassandra across Pm2 multiple Node.js instances
sethbeckerman5 Staff asked 5 years ago

I want to run my software with Pm2 cluster mode with a single Cassandra instance.
When the Node.js instances will start then every single instance will create a Cassandra connection pool.
I think this will cause problems.
What would be the best practice in this case?


View on Stack Overflow