- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Handling Cache Stampedes with Probabilistic Expiry
Cache stampedes collapse production servers when expired keys trigger simultaneous database requests. This video demonstrates a probabilistic early recomputation strategy to break the thundering herd effect.
Learn to calculate a stochastic expiry window using a beta factor and stored computation time, effectively staggering updates so only one request refreshes the cache while others serve stale data. The implementation covers storing metadata in Redis, executing Lua scripts for atomic operations, and leveraging monotonic clocks for accurate delta timing.
Gain insights into tuning the beta parameter for your specific latency profile and shifting to asynchronous updates to ensure continuous availability. Reduce ninety-ninth percentile latency and stabilize database CPU usage by transforming your caching layer into a robust, probabilistic buffer against concurrent request spikes.
##Caching ##Redis ##DistributedSystems ##SystemDesign ##BackendEngineering ##PerformanceOptimization
Видео Handling Cache Stampedes with Probabilistic Expiry канала ByteDistrict
Learn to calculate a stochastic expiry window using a beta factor and stored computation time, effectively staggering updates so only one request refreshes the cache while others serve stale data. The implementation covers storing metadata in Redis, executing Lua scripts for atomic operations, and leveraging monotonic clocks for accurate delta timing.
Gain insights into tuning the beta parameter for your specific latency profile and shifting to asynchronous updates to ensure continuous availability. Reduce ninety-ninth percentile latency and stabilize database CPU usage by transforming your caching layer into a robust, probabilistic buffer against concurrent request spikes.
##Caching ##Redis ##DistributedSystems ##SystemDesign ##BackendEngineering ##PerformanceOptimization
Видео Handling Cache Stampedes with Probabilistic Expiry канала ByteDistrict
Комментарии отсутствуют
Информация о видео
3 июня 2026 г. 3:00:05
00:06:35
Другие видео канала




















