BACKEND
Redis Queues vs Direct API Processing
When to do the work inside the request, when to queue it, and the four things that make a queue safe to retry.
5 min read
3 articles tagged
When to do the work inside the request, when to queue it, and the four things that make a queue safe to retry.
Every external dependency will fail. Timeouts, breakers, backoff and a defined degraded state are the four things that decide whether that becomes your outage.
Read-only mode, buffered writes and a rehearsed failover turn a database outage into degraded service instead of a dead product.