All jobs / Backend developer / Distributed Systems

Backend developer interview question · 3–5 years

The interviewer asks: “The user saves a profile then immediately GETs it from another region and sees the old one. Why?” Strongest answer?

The strongest answer

They read a replica that hasn't applied the write. For read-your-writes I stick to the primary (or a session that waits for the write's LSN). Cross-region lag is normal.

Why it works

Exactly. Replication is asynchronous unless you paid for sync. Name the consistency: RYW after a write, eventual for other readers.

What a good answer covers

Answers that fall short

Who gets asked this

More Distributed Systems questions