forked from External/greenlight
We noticed that the current default settings perform very poorly under load. We managed to literally take down Greenlight during a larger event when people where accessing the landing page for rooms and when doing some tests, I was more or less able to DoS Greenlight on my own. This patch adds a default worker configuration similar to the previous configuration with one worker, but lets users easily adjust it to more workers which significantly improves the situation. The small, 4 core machine I was testing on could handle about thrice the amount of requests. Co-authored-by: Ahmad Farhat <ahmad.af.farhat@gmail.com> |
||
---|---|---|
.. | ||
environments | ||
initializers | ||
locales | ||
application.rb | ||
boot.rb | ||
cable.yml | ||
database.yml | ||
environment.rb | ||
puma.rb | ||
routes.rb | ||
secrets.yml | ||
spring.rb | ||
storage.yml |