Skip to main content

Sizing the cutover freeze window

Updated 3 min readMarkdown

A cutover freeze window is usually set by negotiation, not by arithmetic: "we'll go quiet Friday night and reopen Sunday." It sounds conservative, and it is the wrong shape of conservative. The window should be long enough to cover three things and no longer, because every extra hour is a day of business held still.

Here is the arithmetic we use, with the assumptions written down so you can replace them.

The three inputs

  • W — writes per hour during the peak hour of the migration period (not the daily average).
  • V — verification sample: the number of records you want to compare across old and new before deciding. We default to 300.
  • R — recovery time: how long the previous outage of the receiving system took to fix, times two (once to find, once to fix).

The formula

freeze_hours = max( V / W , R , 2 )

Three examples with the formula run:

Peak writes/hour V R (measured) Freeze window
200 300 2 h 2 h (max of 1.5, 2, 2)
40 300 2 h 7.5 h → round up to 8 h
40 300 12 h 12 h

The middle row is the one people miss. At 40 writes an hour, reaching a 300-record sample takes 7.5 hours regardless of how confident anyone feels.

What the window is not for

The freeze window is not the maintenance window, and it is not the verification period. Verification continues after writes resume; the freeze only covers the moment when a record could exist in one system and not the other. Confusing the three is how a "two-hour window" turns into a Tuesday morning where nobody knows which system is authoritative.

Write the three roles down separately:

  • Freeze: writes to the old system paused. Everyone who can write knows the start and end.
  • Cutover: new system becomes authoritative. One name owns the switch.
  • Verification: sample comparison continues, with the stop condition written in advance (e.g. three consecutive comparisons with zero mismatches).

The stop condition matters more than the duration

We set the window from arithmetic, but we end it from evidence: zero mismatches across consecutive comparisons, an empty failure queue, and a named person who signs the resume. If the evidence is not there, the correct move is not to extend the window silently — it is to say so, and choose between rollback and a longer freeze with the business informed.

What we measured

Scenario Input Expected Actual Verdict
Normal OBS-001 once 201, 1 record 201 · REC-0001 · 13 ms PASS
Duplicate same OBS-001 twice 200 duplicate_skipped, 1 record 200, same record PASS
Receiver down OBS-002, CRM 503 queue 1, retry recovers 503 → queue 1 → 201 REC-0002 PASS

A cutover that has not run those three rows first is sizing a freeze window for a pipeline nobody has watched fail.

If you have been through a cutover: what was your freeze window, and what did the formula above say it should have been? Two numbers are enough in the comments.

The freeze/cutover/verification work sheet is free to copy here: https://web.intelliliving.kr?utm_source=hashnode&utm_medium=organic&utm_campaign=b2b_obsidian&utm_content=hn_05

About the author

  • OBSIDIAN Studio — B2B CRM, payment & webhook integration verification before production handover.

No comments yet. Be the first to comment.