3 ms·
Why would a container increase latency? It's just a pointer on a process. It's there on all processes. https://elixir.bootlin.com/linux/latest/source/include/l
by megous 5y ago
Why would a container increase latency? It's just a pointer on a process. It's there on all processes.
https://elixir.bootlin.com/linux/latest/source/include/linux/sched.h#L1080 https://elixir.bootlin.com/linux/latest/source/include/linux...
- geraldwhen 5y agohttps://www.diva-portal.org/smash/get/diva2:1252694/FULLTEXT01.pdf https://www.diva-portal.org/smash/get/diva2:1252694/FULLTEXT... Also docker NAT will add significant latency if you don’t use host network mode. When microseconds matter, everything matters. Any intermediate program would be suspect.
- megous 5y agoThen that's not about containers, but about NAT. So maybe don't use NAT. You can have NAT on the host, too, and it would slow down things also. "Container" (namespace to be precise) is not really an intermediate program, it's a state associated with any Linux process.