allocate samples to server based on posterior prob

Note that this does not fix test flappiness (tests fail deterministically without this fix though).
Flappiness will be addressed in a subsequent pull request.