add a random number for round robin.
Merge pull request #500 from taoyuanyuan/robin

add a random number for round robin