The Static and Dynamic Allocation of Jobs