Polaris FT Interview Question

write code for load balancing in java