SpinTheMic
Pro

Interview practice question

Two endpoints, two truths

Backend Engineering · API Design · Experienced

The order list endpoint shows an order as "shipped", but the order detail endpoint shows "processing". How could this happen and how do you fix it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Different data sources (search index vs DB).
  • Caches with different TTLs.
  • Replica lag.
  • Single source of truth for state.
  • Invalidate consistently via events.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics