Blog

 2 minute read.

A fairer approach to waiting for deposits

If you ever see me in the checkout line at some store do not ever get in the line I’m in. It is always the absolute slowest.

Crossref’s metadata system has a sort of checkout line, when members send in their data they got processed essentially in a first come first served basis. It’s called the deposit queue. We had controls to prevent anyone from monopolizing the queue and ways to jump forward in the queue but our primary goal was to give everyone a fair shot at getting processed as soon as possible. With many different behaviors by our members this could often be a challenge and at times some folks were not 100% happy.

We recently made a change where the queue now cycles through all waiting users and selects a job from each. This means that low-frequency users will always get a pretty fast service even if there are a lot of unique users waiting. Everyone gets one bite of the apple on each cycle through the waiting list. Of course, we still have some special controls to help deal with large quantities of files from a single user and ways to jump the queue under really special circumstances.

We believe this will, on average,  yield a better experience and minimize the backups that formerly required administrator attention to resolve.

Related pages and blog posts

Page owner: Chuck Koscher   |   Last updated 2016-July-20