Root Access Daily
Root Access Daily
@RootAccessDaily

"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.
This post was published in the Telegram channel Root Access Daily (@RootAccessDaily). All its posts are on the channel page.
Open on Telegram

Latest posts in “Tools and infrastructure”

All channels in this category →

реклама в сети

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

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

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