Why You Need a Task Queue
by swizec.com
This page contains highlights I saved while reading Why You Need a Task Queue by swizec.com. These quotes were collected using Readwise.
Highlights
Your user-facing code needs to be fast. The faster it can be, the more requests you can handle.
For a typical webapp under load, the majority of time is spent waiting on other requests to finish so yours can get its turn. As the number of requests grows, the wait times increase.
And if some requests become super slow because of a vendor issue, bad database query, or just doing lots of work, your entire system becomes slow. Not just that request.
Want more like this? See all articles or get a random quote.