Upgrade Rollout and the One-Way Doors
A traffic share can be pulled back; a written row cannot. The one-way doors in a rollout, and the proof to ask for before crossing each.
Tag
21 entries: Note, System, Essay.
A traffic share can be pulled back; a written row cannot. The one-way doors in a rollout, and the proof to ask for before crossing each.
The target version is chosen, but nobody has said go. Four proofs to ask for before starting: tests, rollback, blocking dependencies and deprecations.
How far does .env take you, and when do you need a centralized configuration system? Secret management and consistency across environments
The newest PHP version doesn't set the target. Compare the candidate's security end with your next upgrade window, then with the chain's slowest link.
An EOL date gives the upgrade ceiling, not the order. A 3×3 matrix crosses system criticality with trigger type and gives each cell a response window.
The PHP version is only one layer; extensions, framework, packages, base image and CI runner each constrain the one above. How to map the chain.
A Dependabot PR, an EOL notice and a CVE bulletin share one queue but not one urgency. Sort signals into three types and give each a response time.
Separating old records that bloat the live table: partitioning, cold storage, and keeping query access while you archive
On a queue table, an index and an autovacuum threshold that grow with the table scale wrong; the measured case for sizing both to the pending jobs
Running migrations without causing downtime in production: backward-compatible steps, multi-phase column changes, and avoiding table locks
The questions to ask before adding a cache, why cache invalidation is hard, and the choice between TTL and consistency
Connecting a critical system to external APIs: using timeouts, retries, and circuit breakers to stop one service's collapse from taking the whole system down.
Vibe coding lowers the cost of a first version, not the cost of being wrong. That bill arrives in production, not at build time.
Generating legally sequential, gap-free numbers with parallel workers: the JIT reservation pattern that solves race conditions and gaps together
As data load grows, where does boring architecture break? Working set, read replicas, partitioning, write load, a separate data layer — in order.
The pattern I use to avoid key collisions and accidental deletes when a single Redis instance is shared across several projects
pg_dump alone is not a backup. A PITR-capable, compressed, verifiable backup architecture with pgBackRest, continuous WAL archiving and restore drills.
Laravel queue workers are flawless locally and slow in production. The five most common reasons developers overlook.
The concrete benefits of defining a separate pool per application instead of a single PHP-FPM pool when running multiple PHP apps on one VPS
A production-grade Laravel setup with Nginx + PHP-FPM + Redis + PostgreSQL + Supervisor + Horizon. Each piece's job and what you lose if you drop it