Microsoft Interview Question

Design a load balancer and write the basic code for it.