Thundering Herd

  • When cache was outdated, before new data is cached, huge amounts of requests directly went to database.
  • How to avoid? Don’t use TTL, use a cron job to clear and reset caches.