MultiContainer Benchmarks?


(Harsh) #1

Does anyone here happen benchmarks regarding the advantages of running a single discourse instance on one container vs. multiple containers?


(Matt Palmer) #2

It’s only useful if you need to split across multiple machines, or you have some sort of resource limitation applied on a per-container basis. Otherwise, a single container will happily use all the CPU and RAM on the machine if available, assuming you’ve tuned the database and unicorn worker count appropriately.


(Harsh) #3

oh alright! I’m fairly new to this and I’m used to the idea separating different web services across multiple containers just to make them easier to manage and in case any one service goes wrong. But I see Discourse just packages everything into one container (Redis, nginx, ruby, etc…)