0 day streak
Anonymous · shared experience1 Oct 2025 · 6 views

Apple: Roll out replica updates evenly while keeping groups healthy

Interview question #Apple Low-level design

Problem. The round was built around a replica management system. There is a replica class with fields such as region, id and the replica group it belongs to, plus APIs to check whether a server is healthy and to update a replica. Design a function that applies updates to replicas spread out evenly, for example across regions, while making sure each replica group stays healthy for the whole rollout.

What the interviewer looked for. Class design, the strategy for ordering and pacing the updates, edge cases (such as unhealthy servers), and the overall approach.

Candidate's take. The problem was open-ended and the candidate felt they spent too long pinning down requirements, which they believe cost them the round. Earlier, a virtual round asked for a structure with insert, delete and random pick all in average O(1), with a follow-up to allow duplicate values. The hiring manager round dug into reliability, availability and how production issues were handled.

0 comments

Comments 0

No comments yet. Ask the author something, or add what happened in your own round.