154 articles
Knowledge Base
Performance
154 articles in the Performance category · page 4 of 7.
- Squid as a forward proxy for outbound traffic Build a Squid forward proxy for controlled outbound HTTP/HTTPS — ACLs, auth, TLS interception trade-offs, and the observability we wire into it.
- KeyDB — multi-master Redis-compatible cache KeyDB as a Redis-protocol alternative with built-in active-active multi-master replication — when it makes sense, when it does not, and the production gotchas.
- Varnish ESI — Edge Side Includes for partial caching How to use Varnish ESI to cache page shells with dynamic fragments — useful for headers, footers, cart widgets, and personalized blocks on otherwise cacheable pages.
- LVE limit upgrade workflow — notify, schedule, apply, monitor Raising LVE limits without a process leaves the host vulnerable and the customer confused. The four-step workflow that keeps it under control.
- WordPress admin-ajax.php load — the heartbeat tax on cPanel WordPress heartbeat fires admin-ajax.php every 15-60 seconds from every open editor tab. On a busy cPanel host with many WP sites, this is measurable load that delivers no user value.
- PHP sessions with Redis: replacing disk sessions in production Move PHP session storage from local disk to Redis to enable horizontal scaling, reduce I/O contention, and gain atomic session locking without changing application code.
- Tuning sysctl for cPanel hosts — file-max, somaxconn, and friends The Linux kernel ships with defaults sized for desktops. On a busy cPanel host, a handful of sysctl values need bumping before connection drops and file-handle exhaustion start.
- PHP 8.1 Fibers: cooperative concurrency without a framework How PHP 8.1 Fibers work, where they fit in production workloads, and how to use them for cooperative concurrency without an event loop framework.
- Swap thrashing on cPanel hosts — when MySQL hits the page file A cPanel host that starts using swap for MySQL or PHP-FPM workers is on the edge of an incident. Here is how to recognize swap thrash and what to do.
- LSCWP image optimization: WebP conversion, lazy load, and AVIF Configure LSCWP to convert images to WebP or AVIF, enable lazy loading, and serve the right format per browser — without breaking the media library.
- When nginx in front of Apache on cPanel actually makes sense Putting nginx in front of cPanel Apache is a common recommendation that is sometimes right and sometimes overhead. Here are the cases where it pays off, and where it does not.
- SSL and TLS configuration on LiteSpeed: HSTS, OCSP stapling, and cipher suites How to configure TLS on LiteSpeed for HSTS, OCSP stapling, and modern cipher suites — with verification commands and common pitfalls for production environments.
- PHP realpath_cache: tuning for frameworks with many include files PHP stat()s every include path on first use. Size realpath_cache_size and realpath_cache_ttl correctly to eliminate filesystem overhead in large frameworks.
- CloudLinux PHP Selector vs cPanel MultiPHP — operational differences Both let you run different PHP versions per account, but they work differently and have different operational tradeoffs. Here is what matters when picking one.
- Dragonfly — a modern Redis-compatible in-memory store Dragonfly as a Redis/Memcached protocol drop-in with vertical scaling, snapshot consistency, and a different memory model — where it fits and what to test.
- Redis vs Memcached for the WordPress object cache on cPanel Both are valid as an object cache for WordPress on cPanel — but the operational difference matters more than the benchmark difference. Here is how we pick.
- LSCWP object cache: Redis vs Memcached backend setup Connect LiteSpeed Cache for WordPress to a Redis or Memcached backend, choose the right driver, and confirm the object cache is actually being used.
- PHP 8 JIT: when it helps, when it does not, how to configure it PHP 8 JIT accelerates CPU-bound code but adds no value for typical I/O-bound web requests. Learn which workloads benefit and how to configure jit_buffer_size safely.
- PHP extensions for production: what to enable, what to disable Which PHP extensions belong on a production server, which ones carry security or performance risk, and how to audit your loaded extension set systematically.
- PHP-FPM status page: what every metric means PHP-FPM's built-in status page exposes real-time pool health metrics. Learn what each field means, how to expose it safely, and which numbers to alert on.
- LSCache purge strategies: tag-based, URL, and full cache purge How to purge LiteSpeed cache entries precisely — by tag, by URL, or wholesale — without flushing warm pages you want to keep. Covers CLI, API, and LSCWP.
- Cache-aside vs write-through — pick the consistency model A practical comparison of cache-aside, write-through, and write-behind — what each guarantees, where each breaks, and how to choose.
- Layered cache — L1 in-process, L2 shared, origin How to build a layered cache — fast L1 inside the process, shared L2 across the cluster, origin at the bottom — and how to size each layer.
- MySQL Governor — DB-side throttling for shared cPanel hosts MySQL Governor limits per-account database resource use on a shared cPanel host, so one tenant's slow query does not freeze the whole MySQL instance.