have client message broker back-off when receiving 5xx responses
Bug #1947399 reported by
Simon Poirier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Released
|
High
|
Kevin Nasto | ||
Landscape Server |
Fix Released
|
Undecided
|
Kevin Nasto | ||
landscape-client (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Current client tries sending messages on schedule. When we get a massive backlog of messages (due to outage or bugs) we are basically getting DDOS-ed, getting 503 messages.
As an operator of landscape SaaS, I would like to have at least those 2 throttling mechanisms added to clients when 5xx status are received
- an exponential back-off timer of the broker (urgent or standard exchanges) are queued to avoid hammering the message-system with too many simultaneous clients.
- a reverse-exponential reduction of the broker max_messages to reduce server load and keep the broker "nice"
This might lengthen recovery from downtime, but should make the recovery smoother.
Changed in landscape: | |
assignee: | nobody → Kevin Nasto (silverdrake11) |
Changed in landscape: | |
status: | New → In Progress |
Changed in landscape-client: | |
status: | Confirmed → In Progress |
Changed in landscape: | |
milestone: | none → 19.11 |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
Changed in landscape-client: | |
status: | Fix Committed → Fix Released |
Changed in landscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The pull request is here https:/ /github. com/CanonicalLt d/landscape- client/ pull/107