Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tidb-loadbalance文档或者使用demo
[Overview] Today I saw the tidb-loadbalance load balancing tool in the documentation and wanted to see how to use it, but there is no documentation or usage demo at all, and there are no comments in the code either. Please add some.
Is this the document? 选择驱动或 ORM 框架 | PingCAP 文档中心
This component hasn’t been updated for a long time, maybe you can use tiproxy.
Sorry, I can only provide translations for text content. Please provide the text you need translated.
It is not recommended for production use. Currently, I am aware of two bugs:
- The load is occasionally unbalanced.
- When a downstream node goes down, there is no health check mechanism, and requests are still sent to the downed node, causing the application to continuously report errors.
For production, it is still recommended to use proxysql and haproxy. Tiproxy has not officially GA’d yet.
I upgraded to version 7.5.0 of the community edition but didn’t see tiproxy. Otherwise, I could have checked it out. Currently, I have wrapped my own application-side load balancer.
There are no specific code integration examples and documentation, and there are no code comments either.
Okay, I am currently using a self-packaged set.
You should be able to see it in version 7.6. In the meantime, you can check this out:
You can specify load-balance to multiple TiDB servers on the application side.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.