{
  "id": 10162038,
  "title": "When Redis goes down, does your app die?",
  "url": "https://urgent.news/2026/09/27/when-redis-goes-down-does-your-app-die",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-09-27T07:11:46.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/jantolentino/when-redis-goes-down-does-your-app-die-4kmf"
  },
  "original_language": "en",
  "account": "The application experience suffered significantly when the Redis cache went down, forcing the system to default to using the database directly. To prevent this, the Resilient Cache-Aside approach was implemented. This involved wrapping cache operations in a try-catch block to handle exceptions gracefully, thereby avoiding a 500 Internal Server Error. However, this solution did not address the issue of timeouts. The Circuit Breaker pattern was found to be a more effective solution. By tracking failures over time, the circuit opens when failures reach a certain threshold, causing the app to skip the cache and go directly to the database. This prevents timeouts and improves user experience. A PHP library called Ganesha was used to implement the Circuit Breaker pattern, creating a CircuitBreakerService that manages the circuit state and executes primary or fallback operations based on the circuit's state.",
  "summary": "The Problem: The App Dies There was an incident that caused our application to fail because our Redis cache went down. It was in the middle of moving to a larger compute instance to handle a higher load, and since we only had one replica at the time, the cache became completely unavailable. The issue is that Laravel, by default, assumes your cache is always there. If Redis dies, the standard…",
  "key_points": [
    "Redis cache failure significantly impacted application experience",
    "Resilient Cache-Aside approach implemented to handle exceptions",
    "Circuit Breaker pattern improved app performance and user experience"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}