Suppose I have a microservice that updates or reads data from Redis and Cassandra. Now suppose I scale up and have 3 instances of exact same microservice. Do I need to 3 instances each for Redis and Cassandra so each instance of microservice has its own instance of Redis and Cassandra? Or since both Redis and Cassandra are cluster based distributed databases, I will not need 3 instances of these databases but share the same cluster among the 3 instances of the microservices?
What if MySQL is also being used by the microservice, will I need 3 instances of MySQL?