Root Access Daily
Root Access Daily
@RootAccessDaily

"Throw Redis at it to speed things up"

"Throw Redis at it to speed things up"
On a 2GB box, Redis is another daemon fighting MySQL for RAM. If your cache hit data is small and read-heavy, OPcache + a filesystem cache often beats it with zero memory pressure.
Before adding Redis ask: am I actually I/O bound on cache reads? Usually no.
— enable opcache first (free, huge)
— file cache on tmpfs if you need shared state
Add Redis when you have RAM to spare and real contention, not by default. Try it tonight.
Этот пост опубликован в Telegram-канале Root Access Daily. Подписаться можно по ссылке: @RootAccessDaily.
tech

Свежие посты в категории «Tech Infrastructure»

Все каналы категории →

start

Готовы запустить рекламу через сеть public.tg?

Новый оффер, продукт, GEO, кейс, событие или партнёрский запуск — соберём маршрут под задачу и отдадим медиаплан.

Telegram для медиаплана: @AFFtop_connect. Быстрый тест: $20 за канал, $1000 за пакет по сети.