Is anyone aware of performance drawbacks in containers?

Hi! I recently deployed a website in a docker container. I think previously I deployed it without a container.

I noticed some lag, while the container only used ~3% of the CPUs. I’ve never experienced such horrible lag when using the site! It seems logical it would be related to the use of containers.

Nginx + postgres + elixir setup. Idk all the intricacies of BEAM and web sockets, but I use live views heavily.

Basically, should I switch back to a no-container deployment? Thanks for any help

1 Like

Where are you deploying it? Some of the offerings had issues with I/O container performance in the past.

In general though, we can’t really answer your question. It’s on you to decide whether you want to dig up the problem and fix it, or revert to a more robust solution.

3 Likes