Replaying a Dead-Letter Queue Without Making It Worse
Naive replay re-poisons the queue or double-fires side effects. The safe shape: reset, dry-run, sandbox-first, select.
Engineering
Short technical notes and patterns straight from production.
Naive replay re-poisons the queue or double-fires side effects. The safe shape: reset, dry-run, sandbox-first, select.
A message's data is an untyped contract the queue won't check. Validate it at the edge: producer before publish, consumer as a safety net.
At-least-once delivery means a handler will see the same message twice. The idempotency key, where it comes from, and the dedupe that survives a crash
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 practical setup for dynamic user authentication via `auth_query` instead of `userlist.txt` when running pgBouncer