Optimize Performance Under Varying Network Conditions