Console Login

#Performance Tuning

All articles tagged with Performance Tuning

#Performance Tuning

Bun vs Node.js on a VPS: Check CPU Steal and Disk I/O First

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.

Tuning Nginx and Kong as an API Gateway: Limits, Keepalive, Kernel

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.

Keeping Prometheus Monitoring Alive During Traffic Spikes

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.

Cutting CI Build Time by Fixing Disk I/O, Swap and Heap on Linux

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.

HAProxy 1.4 and Keepalived on CentOS 6: Redundant Load Balancing

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.

Diagnosing MySQL I/O Bottlenecks on Linux: Scheduler, Mounts, InnoDB

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.

MySQL 5.5 I/O Tuning: InnoDB, Flush Settings, Scheduler, Swap

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.

Apache and Lighttpd: Cutting Idle-Connection Memory on CentOS 5

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.

Diagnosing memory limits on an OpenVZ VPS with user_beancounters

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.