REST API /instances/bored does not always pick the instance with the lowest combined load

Archived from the Transloadit support forum. Originally posted on October 28, 2011; details may be outdated, see our docs for current behavior. Original thread

Comparing the output of http://api2.transloadit.com/instances with http://api2.transloadit.com/instances/bored indicates that load isn’t being distributed evenly across all available instances. Why is this?

While we’re on the topic, I’m curious - what is the difference between a ‘drone’ and the ‘queen’ instance, and why does the ‘queen’ never get any jobs?

> Comparing the output of http://api2.transloadit.com/instances with http://api2.transloadit.com/instances/bored indicates that load isn’t being distributed evenly across all available instances. Why is this?

This is not public API : ). That is, you can see if because there is no harm for us in exposing it, but it’s really internal diagnostics information.

As far as load goes, we’re working on distributing this better very hard right now.

While we’re on the topic, I’m curious - what is the difference between a ‘drone’ and the ‘queen’ instance, and why does the ‘queen’ never get any jobs?

The queen is our central instance that also runs our database. If it goes down, any drone can replace it within a minute.

HTH,
--fg