Blog

Notes on DevOps, Kubernetes, self-hosted infrastructure and consulting.
26 posts tagged reliability · clear filter
November 30, 2026
Actually Saving Money with Spot Instances: Interruption Notices, Instance Type Diversification and Kubernetes Node Pools
Spot capacity is not a pricing option, it is a resilience contract. Which workloads tolerate it, what the interruption notice is good for, how to diversify, and...
cost Kubernetes reliability
Read more →
November 29, 2026
TCP Listen Queue Overflow: SYN and Accept Queues, somaxconn and One-Second Delays
When application metrics look clean but clients see delays of exactly one or three seconds, connections may be dropped in the kernel's accept queue. How to diag...
Linux TCP performance
Read more →
November 28, 2026
Transaction Isolation Levels: Read Committed, Repeatable Read, Serializable and Write Skew
Each transaction is correct alone, together they break the rule. What the default isolation level permits, write skew, choosing between constraints, locks and S...
PostgreSQL backend reliability
Read more →
November 14, 2026
The MTU Black Hole: Why Large Packets Vanish, Path MTU Discovery, MSS Clamping and Tunnel Settings
When connections open and small requests work but large responses hang, the cause is usually a smaller MTU on the path and a dropped ICMP message. Measuring the...
Linux operations containers
Read more →
November 13, 2026
PostgreSQL Major Version Upgrades: Choosing Between pg_upgrade, Dump and Restore, and Logical Replication
A major version upgrade is a data migration in disguise. How the three methods compare on downtime and rollback, the real cost of pg_upgrade's link mode, post-u...
PostgreSQL operations reliability
Read more →
November 12, 2026
StatefulSets and Persistent Volumes in Kubernetes: Zone-Pinned Disks, Node Failures, Volume Expansion and Forgotten PVCs
Most StatefulSet trouble comes from the storage layer: pods stuck in Pending, replicas that never return after a node dies, disks you cannot grow from the templ...
Kubernetes operations reliability
Read more →
November 8, 2026
Idempotency Keys: Handling Retried POST Requests Without Doing the Work Twice, Scope, Concurrency and Stuck Records
Retrying a timed out POST can create the same order twice. Choosing between natural idempotency, a key stored in the same transaction as the business data and a...
API design reliability PostgreSQL
Read more →
November 6, 2026
Ephemeral Port Exhaustion and a Full conntrack Table: TIME_WAIT, Connection Reuse and the Kernel Knobs That Matter
What causes "cannot assign requested address" and "nf_conntrack: table full", which popular knobs do nothing, and the order that actually fixes it.
Linux performance reliability
Read more →
November 5, 2026
Cache Stampede: Protecting the Database When a Hot Key Expires, Request Coalescing, Serving Stale and Early Refresh
When a hot key expires, hundreds of requests send the same query to the database at once. How to choose between TTL jitter, request coalescing, a distributed lo...
performance reliability backend
Read more →
October 31, 2026
Load Shedding Under Overload: Concurrency Limits, Queue Time, Deadlines and Health Checks That Sink You
An overloaded service rarely crashes; it keeps doing work its callers already abandoned. How to reject excess load early and cheaply with bounded queues, concur...
reliability performance backend
Read more →
October 30, 2026
Changing DNS Records and Providers Without Downtime: TTL Ordering, Negative Caching, NS Cutover and DNSSEC
Lowering the TTL before the change, negative caching of missing names, running two providers side by side because of the parent NS TTL, DS ordering with DNSSEC,...
DNS operations reliability
Read more →
October 28, 2026
Feature Flags: Separating Deploy from Release, Consistent Percentage Rollouts and Flag Debt
Separating flag kinds, evaluating locally, consistent percentage rollouts with a stable hash and the right targeting key in multi-tenant products; plus flags th...
architecture CI/CD SaaS
Read more →
October 27, 2026
Storing Timestamps Right: Instants vs Wall Time, UTC, Time Zone Names and DST Traps
Most date bugs surface at a DST transition or when a country changes its rules. Store past events as instants and future calendar events as local time plus zone...
PostgreSQL backend API design
Read more →
October 22, 2026
Why a Distributed Lock Is Not Enough: Leases, Fencing Tokens, and Choosing Between Redis, PostgreSQL and etcd
A leased lock can end up with two holders when the owner pauses. The efficiency versus correctness distinction, rejecting stale holders with fencing tokens, cho...
architecture reliability backend
Read more →
October 20, 2026
Retry Storms: Exponential Backoff, Jitter, Retry Budgets and Circuit Breakers
When every layer retries a slow dependency, a brief slowdown becomes a long outage. Retrying at one layer, full jitter, retry budgets as a share of traffic, pro...
reliability API design architecture
Read more →
October 17, 2026
The Quiet Cause of Sporadic 502s: Idle Connection Timeouts and Keepalive Ordering
Load balancers, proxies and application servers close idle connections on different clocks. Get the order wrong and random 502s appear after quiet periods. The...
reliability backend performance
Read more →
October 15, 2026
The Get-or-Create Race: Duplicate Rows Under Concurrency, Unique Constraints and ON CONFLICT Traps
Check-then-insert is flawless for one request and quietly produces duplicates under parallel ones. Why application locks fall short, why a unique constraint is...
PostgreSQL backend reliability
Read more →
October 12, 2026
Finding Out What Actually Filled Up: inodes, Deleted but Open Files and Reserved Blocks
"Disk full" maps to at least three different conditions: blocks, inodes and space reserved for root. Same symptom, different remedy. How to measure before you d...
Linux operations reliability
Read more →
October 7, 2026
Build Once, Promote by Digest: Shipping the Exact Image You Tested
Rebuilding after the release tag means the bytes you tested are not the bytes you ship. Pushing candidates by digest, tagging that same digest once tests pass,...
CI/CD Docker DevOps
Read more →
October 6, 2026
Time-Dependent Flaky Tests: Wall Clocks, Failures Under Load, Second Rounding and Fake Clocks
Why tests tied to the wall clock (fixed sleeps, short timeouts, duration assertions, single-instant "not yet" checks) fail precisely under load, how to measure...
testing CI/CD reliability
Read more →
October 4, 2026
PodDisruptionBudgets and Node Drains in Kubernetes: Writing the Budget and Why Maintenance Gets Stuck
A PodDisruptionBudget only limits voluntary disruptions, and a badly written one either protects nothing or blocks node drains forever. Choosing between minAvai...
Kubernetes high availability operations
Read more →
September 30, 2026
API Rate Limiting: Token Buckets, Choosing the Right Key and Distributed Counter Pitfalls
Why fixed windows let twice the limit through, why the IP address is a poor key, how INCR plus EXPIRE in Redis can block a client forever, and why you should an...
API design backend reliability
Read more →
September 29, 2026
DNS Resolution in Kubernetes: ndots, Search Domains, CoreDNS Caching and the Five-Second Stalls
Why a pod turns one external lookup into eight DNS queries, what lowering ndots breaks, when autopath and NodeLocal DNSCache are worth it, where the exact five-...
Kubernetes operations performance
Read more →
September 22, 2026
Zero-Downtime Deployments in Kubernetes: Probes, preStop and Getting Graceful Shutdown in the Right Order
A rolling update alone does not give you zero downtime. Unless readiness and startup probes, a preStop delay, terminationGracePeriodSeconds, maxUnavailable and...
Kubernetes reliability operations
Read more →
September 20, 2026
Why Scheduled Jobs Break Quietly: Missed Runs, Overlap and Single Instance in cron, systemd Timers and Kubernetes CronJobs
Scheduled jobs break quietly in three ways: the missed run, the overlapping run and the failure nobody sees. How cron, systemd timers and Kubernetes CronJobs an...
Linux Kubernetes operations
Read more →
September 18, 2026
Backups are not enough: run restore drills
A green backup job gives false confidence, and an untested backup is not a backup. We cover the silent traps we hit, valid but incomplete archives, stale locks,...
backups disaster recovery operations
Read more →
[ ← Back to burak.sh ]