Find guides, tutorials, and documentation to help you get the most out of CubePath services.
Showing 12 of 12 guides
Use strace and ltrace on Ubuntu 24.04 to count system calls, time slow I/O and network calls, attach to running processes and trace library calls safely.
Install Linux perf on Ubuntu 24.04, count CPU events, profile programs and running services, and build flame graphs to find the functions that burn CPU time.
Learn how sysctl works on Ubuntu 24.04, persist kernel changes in /etc/sysctl.d, and tune memory, file and network parameters for servers without guesswork.
Tune TCP buffers, enable BBR congestion control, size connection queues and port ranges on Ubuntu 24.04, and measure the gain with iperf3, ss and nstat.
Diagnose and fix Too many open files errors on Ubuntu 24.04 by raising ulimit values in limits.conf, systemd service units and Docker, then verify each change.
Install Redis on Ubuntu 24.04, turn it into a secure LRU cache with a memory limit and password, cache data from Python with TTLs and measure the hit rate.
Install Memcached on Ubuntu 24.04, size its memory, threads and connections, keep it off the public internet, cache data from Python and PHP and read its stats.
Size PHP-FPM pm.max_children from real memory use, pick dynamic, static or ondemand mode, enable the status page and slow log, and verify it on Ubuntu 24.04.
Tune PHP OPcache for PHP-FPM on Ubuntu 24.04: size its memory and file limits, choose a revalidation strategy, clear it on deploys and check the hit rate.
Enable gzip and Brotli compression in Nginx or Apache on Ubuntu 24.04, serve precompressed assets and verify with curl that text responses shrink by 70-80%.
Install Apache Bench on Ubuntu 24.04, run load tests against any web server, read requests per second and latency percentiles, and compare results reliably.
Install wrk and siege on Ubuntu 24.04, run HTTP load tests, script POST requests with Lua, replay URL lists and read latency percentiles to find your limits.