Infrastructure tutorials

Production-grade guides for Linux, servers, security and performance. Copy-paste commands, multi-distro support, written by engineers who run this in production.

performance Advanced

Optimize Linux RAID configuration for maximum disk performance with mdadm and advanced tuning

Learn how to configure and optimize Linux RAID arrays with mdadm for maximum disk performance. This comprehensive guide covers RAID level selection, advanced mdadm parameters, kernel I/O scheduler optimization, and file system tuning for high-throughput workloads.

45 min 4 distros 65 views
linux Intermediate

Configure Linux user session limits with systemd and pam_limits for resource management

Set up comprehensive user session resource limits using systemd and PAM to prevent resource exhaustion, fix 'too many open files' errors, and enforce memory, CPU, and process restrictions for better system stability.

25 min 6 distros 489 views
performance Intermediate

Optimize PostgreSQL connection pooling with PgBouncer for high-traffic applications

Learn to configure PgBouncer connection pooling to optimize PostgreSQL performance, reduce connection overhead, and handle thousands of concurrent database connections efficiently in production environments.

25 min 6 distros 259 views
hosting Intermediate

Install and configure OpenResty web server with Lua scripting and performance optimization

Set up OpenResty as a high-performance web server and API gateway with embedded Lua scripting capabilities, SSL certificates, and advanced caching optimization for production workloads.

45 min 6 distros 269 views
linux Intermediate

Configure Linux CPU and process scheduling with systemd and nice priorities for workload optimization

Learn to optimize Linux workloads by configuring CPU scheduling policies, setting process priorities with nice and ionice commands, and implementing systemd service limits for better resource allocation and performance.

25 min 6 distros 396 views
performance Intermediate

Optimize Linux I/O performance with kernel tuning and storage schedulers for high-throughput workloads

Learn how to optimize Linux I/O performance through kernel parameter tuning, storage scheduler configuration, and filesystem optimizations. This tutorial covers scheduler selection, queue depth tuning, and performance monitoring for high-throughput applications.

25 min 6 distros 246 views
performance Intermediate

Configure Linux memory management and swap optimization for high-performance workloads

Optimize Linux memory subsystem performance through advanced swap configuration, virtual memory tuning, and memory compression techniques. Learn to configure transparent huge pages, zram, and application-specific memory settings for high-performance workloads.

25 min 6 distros 280 views
linux Intermediate

Configure automatic security updates with unattended-upgrades and email notifications

Set up automated security patching on Linux servers with unattended-upgrades and dnf-automatic. Configure email notifications, update policies, and monitoring to keep your systems secure while maintaining control over critical services.

25 min 6 distros 384 views
monitoring Intermediate

Configure Linux performance monitoring with collectd and InfluxDB 1.8 for real-time metrics collection

Set up comprehensive system monitoring using collectd to collect performance metrics and InfluxDB 1.8 as a time-series database backend. This tutorial covers installation, configuration, and retention policies for production monitoring environments.

25 min 4 distros 453 views
linux Intermediate

Optimize Linux system performance with kernel parameters and system tuning

Learn production-grade Linux performance optimization through systematic kernel parameter tuning, memory management, I/O optimization, and network stack configuration to maximize system throughput and responsiveness.

45 min 6 distros 297 views

Need help?

Don't want to manage this yourself?

We handle infrastructure for businesses that depend on uptime. From initial setup to ongoing operations.

Talk to an engineer