InterviewLegend

Design a Rolling Software Upgrade

Commonly asked
Alex Chen45 min readAdded 172 real interview reports

A rolling upgrade replaces the software on a fleet a few servers at a time, so the rest keep serving while each batch is out. The platform behind it decides which servers go next and takes them out of service safely. It installs the new version and checks that the servers came back healthy. If they didn't, it stops everything. This one has come up in VMware interviews at MTS-3 and SMTS, mostly in Bengaluru loops, in a few wordings. One asks for the strategy to take N connected servers from version 1 to version 2. Another frames it as a high-level design for software upgrades in a distributed system, and a third as "design a deployment platform". It suits the company. VMware's software runs underneath its customers' workloads, so a botched upgrade can take a datacenter down with it.

The VMware angle
Read the wording closely. "N servers connected with each other" means the servers talk to each other. During the rollout, version 1 and version 2 servers work side by side for hours. Raise early how they stay compatible and how you roll back after version 2 has written data. Deep dive one covers it.

VMwarePremium lesson · System design round

The VMware design, worked end to end.

  1. The API and data modelSystem design
  2. The design, drawn out1 diagram
  3. 5 deep divesWith the tradeoffs
Get the VMware questions

$49 a year · all 107 companies · instant access

172 VMware interview reports · guide updated

VMware interview guide

Know what VMware asks before you walk in.

30 coding · 4 system design · 15 behavioral questions

Get Premium$49 a year · Instant access
Or start freeNo card.

Get their questions first.

Had your VMware interview?How we research

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.