Basic load balancer for stateless and stateful applcations