Root Access Daily
Root Access Daily
@RootAccessDaily

TTFB 620ms → 180ms with Redis object cache

TTFB 620ms → 180ms with Redis object cache
Just did this on a $6 box running a plugin-heavy WP membership site. Every page rebuilt the same options queries, ~40 DB round trips per load.
— apt install redis-server, capped maxmemory 256mb, policy allkeys-lru
— dropped in the Redis object-cache plugin, pointed at the unix socket
DB queries per page fell from ~40 to ~8. Time to first byte went 620ms to 180ms on the same box. Bonus: MySQL CPU dropped enough that I moved a second site onto the same VPS.
Try it tonight.
Этот пост опубликован в Telegram-канале Root Access Daily. Подписаться можно по ссылке: @RootAccessDaily.
tech

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

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

start

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

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

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