I want to move my current relational database installation into a docker container or a set of a docker containers.
I have a web server with an associated relational database. I provide a set of 40 web services to my clients. Each service is a derivative of my web application. I use an apache web server. It uses redirects with different document roots for each service. In addition, each service has its database in a single MariaDB instance.
Now I wonder if I would put the database into a docker container, would it make sense to dockerize each service with each own dockerized mariadb as well.
Is there an issue with high computation overhead if each of the 60 services has its web server and database?
When considering a microservice architecture there are opposing ideas database-per-service and shared-database. Since my service does not share databases, the pattern database-per-service would fit. The question is if the overhead of each docker container is negatively impacted performance.
Where is the research status on this topic? What are the dominating approaches to computational overhead with more than 40 dockerized databases?