Why it matters
Use pub/sub for notify; still persist durable work in a queue.
Practical steps
- Choose storage for misc redis pubsub deliberately (SQLite vs Postgres vs KV); document why.
- Implement use pub/sub for notify; still persist durable work in a queue with migrations that are additive and reversible where possible.
- Use transactions / idempotency keys so retries of misc redis pubsub do not double-write.
- Add a fixture DB and migration test covering misc redis pubsub.
- Document backup/restore touching tables used by misc redis pubsub.
Watch out for
- Copy-pasting outdated snippets for misc redis pubsub without re-reading current official docs.
- Shipping misc redis pubsub to production without a staging rehearsal and a documented rollback.