## Conclusion

In this lab, we show you that TiProxy's capability of load balancing, connection persistence, and service discovery. We also show you the application design best practice to make sure your application is always-on in the TiDB server unexpected downtime.

In production environment, multiple TiProxy's may be deployed, and in such case, there may be an extra network load balancer asides between the client and the TiProxy. (See the figure below as an example.)

![demo018_conclusion_topology_with_NLB_aa_002_20250908.png 85%](https://lab-static.pingcap.com/images/2025/9/8/8711eafa3460f9e9879675e787b87cf0b595eadc.png)

TiProxy can also maintain database zero downtime during Upgrade. You can checkout [Database Zero Downtime Online Upgrade With TiProxy](/labs/demo_005) for more details.
