You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've found that some of our busier Discourse deployments need quite a few Juju units to keep up with the traffic.
The charm starts 3 unicorn workers, and since unicorn also needs to be able to respond to pebble checks, each unit on average can handle a little under 3 concurrent user requests. Every unit also runs a few other things (sidekiq, monitoring, etc.) and this fixed overhead adds up.
It would be nice if each unit started more unicorn workers, although since it seems the guidance (for example) generally boils down to:
no more than 2 workers per real CPU core; and
as many workers as you need,
perhaps this is one of the rare cases where a charm setting makes sense.
The text was updated successfully, but these errors were encountered:
Enhancement Proposal
We've found that some of our busier Discourse deployments need quite a few Juju units to keep up with the traffic.
The charm starts 3 unicorn workers, and since unicorn also needs to be able to respond to pebble checks, each unit on average can handle a little under 3 concurrent user requests. Every unit also runs a few other things (sidekiq, monitoring, etc.) and this fixed overhead adds up.
It would be nice if each unit started more unicorn workers, although since it seems the guidance (for example) generally boils down to:
perhaps this is one of the rare cases where a charm setting makes sense.
The text was updated successfully, but these errors were encountered: