Shutterfly Interview Question

How do you build a fair queueing system at scale?