Remix.run Logo
mkj 7 hours ago

How is docker a context switch overhead? It's the same processes running on the same kernel.

BirAdam 7 hours ago | parent [-]

You're adding all of the other supporting processes within the container that needn't be replicated.

akdev1l 6 hours ago | parent | next [-]

It depends, you could have an application with something like

FROM scratch

COPY my-static-binary /my-static-binary

ENTRYPOINT “/my-static-binary”

Having multiple processes inside one container is a bit of an anti-pattern imo

dnnddidiej 6 hours ago | parent | prev [-]

Sidecars? Not in a simple app.