Load-balancer in C for cloud platforms