Has anyone used client-side load balancing? For example, tidb-loadbalance

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: 请问大家有用客户端负载均衡的吗?比如tidb-loadbalance

| username: breakyang

To improve efficiency, please provide the following information. A clear problem description will help resolve the issue faster:

[Overview] Concerned about performance, do not want to set up HA Proxy

[Application Framework and Business Logic Adaptation]

[Background] Actions taken

[Phenomenon] Business and database phenomena

[Problem] Current issues encountered

[Business Impact]

[TiDB Version]

[Attachments] Relevant logs and monitoring

| username: hey-hoho | Original post link

I have used tidb-loadbalance in POC, and also used haproxy a lot. There is not much difference under stress testing, you can actually test it out.

| username: Kongdom | Original post link

No, because it doesn’t support .NET :joy:

| username: zhanggame1 | Original post link

The performance requirements for the database proxy are not high.

| username: 大飞哥online | Original post link

KP F5 have both been used. If the traffic is large, hardware load balancing is better.

| username: Kongdom | Original post link

haproxy + keepalived

| username: redgame | Original post link

You can try it, but it mainly depends on the traffic.

| username: 像风一样的男子 | Original post link

If you are using a cloud server, it is better to use their load balancer.

| username: zhouzeru | Original post link

We use HAProxy + Keepalived.

| username: zhanggame1 | Original post link

If money is not an issue, go for F5.

| username: TiDBer_iCdTOZ1r | Original post link

I haven’t used it, will the performance be better than others?

| username: cy6301567 | Original post link

This is used less frequently; it’s better to use something more mature.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.