PubMatic interview question

Design and write program for your own load balancer.