SpinTheMic
Pro

Interview practice question

Async processing breaks ordering

Backend Engineering · Concurrency · Experienced

You parallelised event processing with a thread pool, and now updates for the same user are sometimes applied out of order. How do you keep per-user ordering while staying parallel?

What a strong answer covers

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

  • Partition by key to a single worker.
  • Hash user ID → worker queue.
  • Parallel across users, serial per user.
  • Actor-per-key pattern.
  • Watch hot keys.
Practise this topic

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

See all topics