Skip to content

consider more unicorn workers #298

Description

@vmpjdc

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:

  1. no more than 2 workers per real CPU core; and
  2. as many workers as you need,

perhaps this is one of the rare cases where a charm setting makes sense.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions