Vertical and horizontal scaling