Revolut interview question

How would you write a simple load balancer?