Release engineering

Store submission, staged/phased rollouts, feature flags, and remote kill switches. You cannot hotfix a native app instantly — rollout strategy is the safety net.

About 26 min read3-question knowledge check

The mental model

The defining fact of mobile release engineering is one you never face on the web: you cannot instantly fix an installed native app. A web deploy is live for everyone in seconds and rolled back just as fast. A mobile release is a physical-goods shipment — once a binary is on a user's phone, getting a fix to them means building, signing, submitting to a store, waiting for review, and then *hoping the user updates*, which many never do. A shipped native client is effectively permanent and un-rollbackable: you can stop new installs of a bad version, but you cannot reach into the phones that already have it.

That single constraint reshapes everything. Because you can't hotfix, the rollout itself is the safety net — you release to a small slice of users first, watch your quality metrics, and expand only if they hold, so a bad build hurts 1% instead of 100%. And because even a staged rollout can't un-ship the binary already installed, you build remote control into the app before you need it: feature flags to turn a new feature off without a release, and a remote kill switch to disable a broken code path in seconds. The analogy: shipping a car with a recall problem versus shipping one where every dangerous feature has a remote off-switch the manufacturer can flip. Mobile teams ship the second kind on purpose.

The one idea that ties it together: assume every release contains a bug you haven't found, and design so that bug reaches as few users as possible and can be neutralized without a new binary. Staged rollout limits the blast radius; feature flags and kill switches give you a lever to pull that doesn't depend on the store or the user updating. Get those two right and a bad release is a contained incident; get them wrong and it's a multi-day outage you can only wait out.

The full lesson continues with 15 more sections
  • Deep dive
  • Internal architecture
  • Real-world use cases
  • Best practices
  • Common mistakes
  • Performance
  • Security
  • Production troubleshooting
  • Advantages & disadvantages
  • Alternatives
  • Interview expectations
  • Interview questions
  • Facts to remember
  • Cheat sheet
  • Quick revision