Traffic passes the appliance at the edge of the hosting provider. It takes congestion at all links and the appliance itself into account and re-routes accordingly.
Depending on the characteristics of the location, at least three very unsimilar transit connections are used.