All Questions
Multi Step Processes hard

Your User Service publishes 'UserCreated' and 'UserUpdated' events. A downstream Consumer sees 'UserUpdated' *before* 'UserCreated', causing a crash. What is the root cause?

  1. A The queue is broken.
  2. B The Consumer is multi-threaded.
  3. C Timestamps are unreliable.
  4. D The events were sent to different partitions (using Round Robin), and one partition was processed faster than the other.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions