Dynamics of the supermarket model