I have a physical server running Nginx, MySQL and serving my PHP site. The server has a multi-core processor with 16 GB of RAM. This server can handle a certain amount of web traffic.
Now instead of this separate server, if I run several docker containers that store separate instances of Nginx (App Server) and MySQL (DB Server) and load the balance between application and database containers, can it handle the same amount of traffic as and one server is being processed or will it be smaller (Performance wise)?
How will performance work if I use a virtual server, such as EC2 or Digital Ocean Leaflet, with the same hardware configuration as the physical server?
source share