All Questions
Multi Step Processes hard

You implement a Priority Queue (High/Low). High priority messages always jump to the front. Under heavy High priority load, what happens to Low priority messages?

  1. A They are processed slower.
  2. B They are deleted.
  3. C Starvation: They may never be processed if the inflow of High priority items constantly exceeds the processing rate.
  4. D They are upgraded to High priority automatically.

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

Get the app

Related questions