Posts

Showing posts from January, 2026

Hardening Enterprise Web Portals on Modern Linux (2026 Production Retrospective)

Looking back at fifteen years of maintaining Linux infrastructure, the technology stack has evolved dramatically, but the fundamental bottleneck remains unchanged: concurrency governance. Modern Linux kernels (6.x series) paired with modern runtimes like PHP 8.3 and Python 3.12 offer incredible raw execution speed. However, deploying enterprise intranet systems like Plone, Drupal, or Concrete CMS requires balancing worker processes, persistent Redis session storage, and database connection limits. For systems architects evaluating self-hosted enterprise portals and intranet security models, review the production analysis on CMS Connection's Open Source Intranet Architecture Guide . Before deploying to production, never guess your server thread capacity. You can benchmark your exact PHP-FPM process allocation against available server RAM using the free PHP Worker Concurrency Calculator .

Redis Persistent Connection Pooling: Eliminating TCP Handshake Overhead (Vol. 10)

Image
Installing Redis or Memcached is the single most effective way to eliminate repetitive MySQL query cycles. However, naive implementations that open and close a new TCP socket on every dynamic request end up shifting the bottleneck from the database to the networking stack. Optimizing relational schema and persistent Redis caching to minimize mean service duration. Production Architecture & Empirical Constraints Under heavy traffic, creating ephemeral TCP connections leaves hundreds of sockets lingering in TIME_WAIT status. Switching to persistent connections via local Unix domain sockets ( /var/run/redis/redis.sock ) eliminates network stack overhead and shaves 15ms to 30ms off each worker execution loop. Engineering robust production environments requires adherence to proven industry specifications like Redis in-memory caching rather than guessing resource limits. In real-world enterprise deployments, throughput is determined by queue latency and active worker mem...