Docker Community Forums

Share and learn in the Docker community.

Docker Performance

docker

#1

Hello,
I’m new to Docker technology and I have a general question:
Let’s say I need to run 100 identical processes concurrently.
In addition, there is no need to ship the product to custumers, but running the simulation on my physical server only.
In which case the timing performance will be the best:

  1. Running without using Docker at all (all the 100 processes together)
  2. using 5 Docker containers, each has 20 processes running concurrently.
    Thanks,
    Nati

(Artisticcheese) #2

For process isolation there is very little overhead of running containers natively on OS or inside docker. I made a test run here https://artisticcheese.wordpress.com/2017/07/25/comparing-windows-containers-cpu-perfomance-vs-alternatives/


#3

So in my case there is no advantage in using Docker, am I right?


(Artisticcheese) #4

You will never gain performance by using docker, the most you can hope for is not to loose performance.


#5

Thank you artisticcheese :slight_smile: