Similar Items: Queues, Rations, and Market