parent
9a2bc75646
commit
3b05a615d8
5 changed files with 30 additions and 18 deletions
@ -1,7 +1,3 @@ |
|||||||
# Back Pressure |
# Back Pressure |
||||||
|
|
||||||
If queues start to grow significantly, the queue size can become larger than memory, resulting in cache misses, disk reads, and even slower performance. Back pressure can help by limiting the queue size, thereby maintaining a high throughput rate and good response times for jobs already in the queue. Once the queue fills up, clients get a server busy or HTTP 503 status code to try again later. Clients can retry the request at a later time, perhaps with exponential backoff. |
If queues start to grow significantly, the queue size can become larger than memory, resulting in cache misses, disk reads, and even slower performance. [Back pressure](http://mechanical-sympathy.blogspot.com/2012/05/apply-back-pressure-when-overloaded.html) can help by limiting the queue size, thereby maintaining a high throughput rate and good response times for jobs already in the queue. Once the queue fills up, clients get a server busy or HTTP 503 status code to try again later. Clients can retry the request at a later time, perhaps with [exponential backoff](https://en.wikipedia.org/wiki/Exponential_backoff). |
||||||
|
|
||||||
To learn more, visit the following links: |
|
||||||
|
|
||||||
- [Overview of Back Pressure](https://github.com/donnemartin/system-design-primer#back%20pressure) |
|
Loading…
Reference in new issue