@Gargron @aaguillon well, it would be good to know so you can scale effectively. like should I dedicate a machine to nginx while putting sidekiq and postgres together? I figure probably not but I'm not sure.
Top-level
@Gargron @aaguillon well, it would be good to know so you can scale effectively. like should I dedicate a machine to nginx while putting sidekiq and postgres together? I figure probably not but I'm not sure.
No comments
|
@mewmew @aaguillon Nginx can go with Puma, in fact you need that so Nginx can serve the compiled JS/CSS assets without hitting Puma.
PostgreSQL should be on its own. I used to run PostgreSQL and Redis side by side and that was fine though, Redis isn't that heavy...
I have ElasticSearch on a Sidekiq server because it's also not doing too much. I feel like besides leaving PostgreSQL alone it doesn't matter super much where you put what as long as you tune stuff to utilize most of each machine