a simple realize of load balance by C