~/writing

Expand Contract

3 posts tagged expand-contract. clear filter

October 2026
  • 13
    Blue-green deployment with state
    day 25 · Solution Architecture in 30 Days

    You will learn why blue-green rollback stops working once shared state changes shape, how to measure your real rollback window, and how to use expand/contract migrations, N-1 compatibility checks and tolerant readers so a cutover is safe to roll back.

  • 13
    Agent-written database migrations

    This post covers five guardrails you can merge this sprint so the database migrations your coding agent writes don't break during rolling deploys: an N-1 compatibility job, lint output written for the agent, a phase state file, a production read gate, and a one-line CLAUDE.md rule plus a reviewer checklist.

September 2026
  • 20
    Why blue-green deployment can't roll back a database migration
    day 18 · One Concept a Day — The AI-Era Engineer's Glossary

    The router flip that saves you at the app layer is the same router flip that can quietly wreck you at the data layer — here's the exact mechanism, and the three-phase pattern that closes the gap.