D
D
dlakazov2019-03-02 20:13:08
Docker
dlakazov, 2019-03-02 20:13:08

Docker website slow?

It seemed to me that the deployed application on the host works faster than the application based on the docker container. This is true? Or is it necessary to be baptized when it seems?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
F
FruTb, 2019-03-02
@dlakazov

The comments are correct. True, you need to understand that containerization in docker occurs due to cgroups and a shared kernel. Those in some situations, docker will give better results compared to full server virtualization, and there is when back. The basic rule is - if we are cpu-intensive then we can live in docker. If it is io bound (a lot of network / disk access) - "artifacts" may appear (and, as experience shows), they have to be diagnosed by debugging the kernel. But this is with loads of 10k+ requests to the vaoda-output subsystems. If you have "one and a half rings" sitting on the site - then this is most likely an infrastructure problem

K
ky0, 2019-03-02
@ky0

Any containerization is an overhead. How big it is depends on specific conditions - technology, correct settings, application features. The same DBMS data, for example, should not be located inside the docker.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question