All articles tagged with Performance Tuning
A Bun or Node.js service can be slow on a VPS because of CPU steal or slow disks. How to measure both, fix the host first, and then compare runtimes fairly.
How to remove common latency and connection-error causes in an Nginx or Kong API gateway: file limits, upstream keepalive, backlog, port range, logging and TLS.
Why a Prometheus stack stalls under load, and how to fix it: federation, a lean node_exporter, recording rules, WAL-friendly storage and a locked-down firewall.
Slow or timing-out Jenkins builds are often caused by iowait, swapping and a badly sized JVM heap. How to diagnose and tune each on a 2014-era Linux server.
Put HAProxy 1.4 in front of web nodes on CentOS 6, tune the kernel and use Keepalived VRRP so the balancer itself is no single point of failure.
How to confirm that MySQL 5.5 is stuck on disk I/O, and how to tune the I/O scheduler, ext4 mount options and InnoDB settings for flash or fast virtual storage.
Cut disk waits on a MySQL 5.5 server on CentOS 6: convert tables to InnoDB, size the buffer pool and logs, set the flush policy, I/O scheduler and swappiness.
Why Apache prefork wastes RAM on static files and slow clients, and how a lighttpd front end plus tuned MaxClients and keep-alive fixes it on CentOS 5.
A 2009 reference for VPS users on container-based hosting: why "Cannot allocate memory" appears while free shows RAM, and how to read and fix it.