Infrastructure
What sits under an app: servers, containers, storage, backups, and the plumbing that decides whether it stays up.
139 posts · page 1 of 6
What Is Kubernetes? A Beginner's Explanation Without the Jargon
Kubernetes is a system for running containers across many machines: it starts them, restarts them when they crash, spreads them across servers, and rolls out new versions. What it actually does, the key terms (pods, nodes, deployments), and why most small apps don't need it.
What Is an IP Address? Public, Private, Static and Dynamic Explained
An IP address is the number that identifies a device on a network so data can find it — like a postal address for computers. How IPv4 and IPv6 addresses look, public vs private addresses, static vs dynamic, how domains point to them, and why your server needs a stable one.
What Does 99.9% Uptime Mean? Downtime per Month, Explained
99.9% uptime sounds perfect, but it allows about 43 minutes of downtime a month. A table of what 99%, 99.9%, 99.95%, 99.99% and 99.999% really mean in minutes, what an SLA promises (usually credits, not compensation), and how much uptime a small app actually needs.
VPS vs Shared Hosting: What's the Difference and Which Do You Need?
Shared hosting puts your site on a server with hundreds of others and limits what you can run; a VPS gives you your own virtual server with allocated resources and full control. How they differ on performance, shared or dedicated CPU, security, price and effort — and when an app outgrows shared hosting.
VPN vs Proxy: What's the Difference and Which Do You Need?
A VPN encrypts traffic routed through its tunnel; a proxy forwards traffic selected by an app. How full and split tunnels work, what VPNs and proxies do and don't hide, reverse proxies vs forward proxies, and which one fits privacy, work access, scraping or testing.
Vercel Roundup: Sandbox Gets Private Networking, CDN Stops Caching Vary: Cookie
Vercel's late-September and early-October 2026 changes: Vercel Sandbox gained Secure Compute (static IP egress and AWS VPC peering) and memory observability, sandbox creation now returns a ready sandbox, Vercel CDN no longer caches responses with Vary: Cookie, Edge Requests were renamed CDN Requests, and skills.sh passed one million agent skills.
"User Is Not in the Sudoers File": What It Means and How to Fix It
"username is not in the sudoers file. This incident will be reported." means your Linux user isn't allowed to run commands as root with sudo. How to add a user to the sudo (or wheel) group from root, edit sudoers safely with visudo, recover when you've locked yourself out, and the safer alternatives to giving out sudo.
systemd Timers vs cron: Scheduling Jobs on a Linux Server
cron is simple and everywhere; systemd timers give you logging, missed-run catch-up, randomized delays, resource limits and dependencies. A side-by-side comparison, a complete timer and service example with OnCalendar, how to test calendar expressions, list and debug timers, and which to choose.
How to Self-Host n8n: Docker, Postgres, HTTPS and Backups
A production-minded guide to self-hosting n8n: Docker Compose with Postgres instead of SQLite, the environment variables that matter (encryption key, webhook URL, timezone), HTTPS behind a reverse proxy, backups of both the database and the encryption key, updates, and when queue mode is worth it.
Postgres Replication Slots: Why an Inactive Slot Can Fill Your Disk
Replication slots guarantee a replica or CDC consumer never misses WAL — by keeping it until the consumer confirms it. When the consumer disappears, WAL piles up until the disk is full. How slots work, how to measure retained WAL, max_slot_wal_keep_size and idle timeouts, the xmin side effect, and safe cleanup.
Postgres Logical Replication: Publications, Subscriptions and Near-Zero-Downtime Upgrades
Logical replication streams row-level changes from chosen tables to another Postgres — even a different major version. How publications and subscriptions work, replica identity, the initial copy, what isn't replicated (DDL, sequences), conflicts, monitoring, and a step-by-step major-version upgrade with a short cutover.
Node.js 26 Becomes LTS on 28 October; Node 24 Moves to Maintenance
Node.js 26 is promoted to Active LTS on 28 October 2026 and supported until April 2029. Node 24 enters maintenance on 20 October, Node 22 reaches end of life in April 2027, and Node 25 is already end-of-life. The dates, what LTS means, and how to plan your upgrade.
Nginx Rate Limiting: limit_req, Bursts and Protecting Your Login Page
How to rate-limit requests in Nginx with limit_req_zone and limit_req: choosing a key and rate, what burst and nodelay really do, returning 429 instead of 503, separate limits for login and API routes, getting the real client IP behind Cloudflare, connection limits, and testing it.
Nginx location Blocks and try_files Explained (With SPA and API Examples)
How Nginx chooses a location block — exact, prefix, regex and ^~ matches — and how try_files serves a file, a directory or a fallback. Working configs for single-page apps (fixing 404 on refresh), a frontend plus /api backend, static asset caching, and the trailing-slash proxy_pass trap.
nftables vs iptables: The Linux Firewall, Then and Now
nftables is the successor to iptables in the Linux kernel: one tool for IPv4, IPv6 and more, sets and maps, atomic rule updates, and a cleaner syntax. How the two relate (including iptables-nft), a complete server ruleset, translating rules, and the Docker, UFW and firewalld interactions that trip people up.
Linux TCP Backlog, somaxconn and TIME_WAIT: Why Connections Get Dropped Under Load
When a server falls behind under load, new connections queue in the kernel — and when that queue overflows, they're silently dropped. How the SYN and accept queues work, net.core.somaxconn and the listen() backlog, spotting overflows with ss and nstat, and why TIME_WAIT and ephemeral port exhaustion bite services that make lots of outbound connections.
Linux Memory Overcommit: Why malloc Never Fails and the OOM Killer Does
Linux lets processes allocate more memory than exists, betting they won't all use it — that's overcommit. How the three vm.overcommit_memory modes work, CommitLimit and Committed_AS, why fork and copy-on-write depend on it, why Redis wants mode 1 and Postgres prefers mode 2, and how cgroup limits change the picture.
Hetzner vs AWS: Which Should a Small App Use?
Hetzner offers simple, low-cost servers in Europe and a few other regions; AWS offers hundreds of managed services worldwide at a much higher price for raw compute. How they compare on cost, bandwidth, services, regions, support and complexity — and why many small apps start on one and never need the other.
fsync Explained: When Is Data Actually on Disk?
write() returns long before your data is safe — it sits in the page cache, and possibly in the drive's volatile cache. How fsync, fdatasync and O_DIRECT relate to durability, why you must also fsync directories, the atomic write-rename pattern, what Postgres learned from fsyncgate, and how databases trade durability for speed.
Docker Compose Healthchecks and depends_on: Start Services in the Right Order
depends_on alone only waits for a container to start, not for it to be ready — which is why your app crashes with ECONNREFUSED while Postgres boots. How to write healthchecks for Postgres, MySQL, Redis and your own app, use condition: service_healthy, tune intervals, and debug unhealthy containers.
CRIU: Checkpoint and Restore Running Linux Processes
CRIU (Checkpoint/Restore In Userspace) freezes a running process tree, saves its complete state to disk, and restores it later — on the same machine or another. How it works, using it with Podman, Docker and Kubernetes, what it can't capture (GPUs, external connections), permissions, and how it compares with VM snapshots for persistent agent workspaces.
CPU Steal Time Explained: Why Your VPS Is Slow When Nothing's Running
Steal time (%st in top) is time your virtual machine wanted the CPU but the hypervisor gave it to someone else. How to measure it with top, vmstat and mpstat, what levels are normal, how it differs from high load, why shared vCPUs suffer from it, and what to do when it's hurting your app.
Cloudflare Launches cf, an Agent-Friendly CLI for the Entire Cloudflare API
Cloudflare announced cf on 28 September 2026: one command-line tool covering the whole Cloudflare API, with JSON-first output and typed configuration so both people and AI agents can use it. How to install it (npm, Node 22.18+), how it relates to Wrangler, and how to use it safely with a coding agent.
Cloudflare Birthday Week 2026: The Announcements That Matter for App Builders
Cloudflare's 16th Birthday Week (28 September–2 October 2026) brought 46 announcements. The ones relevant to developers and small teams: the cf CLI, agent-ready Registrar APIs, Protected Quick Tunnels, plans for a free public CA with post-quantum Merkle Tree Certificates, AI Gateway's Auto Router and Web Search API, Basin and AI Search GA, and rebuilt Containers.