Loading...
Loading...
Browse 4 real-world technical and behavioral interview questions about Replication. Review scenarios, edge cases, and architectural best practices.
Name the single writer first, then choose which coupling you would rather own: a shared schema couples the two teams' release calendars, while a replicated copy couples them to a staleness window and obliges someone to detect and repair divergence. Both are permanent, so pick the one your organisation can pay for.
Photo storage should separate originals from thumbnails. Originals are large, rarely read and irreplaceable, so keep a canonical erasure-coded object; thumbnails are small, hot and rebuildable, so replicate them, cache them at the edge and address them by content or transform version.
Under partition you either reject requests on the side that cannot reach a quorum, or serve them and accept divergent replicas that need reconciling. CAP's C is linearisability, not ACID's C, and the choice binds only while partitioned.
An acknowledged write is only guaranteed on the replicas that acknowledged it, so a read served elsewhere can legitimately return the previous version. Locate the staleness - replica, secondary index or cache - then buy read-your-writes for that operation only, and price what it costs during a partition.