What is the tiproxy component?

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

Original topic: tiproxy是什么组件

| username: zhanggame1

[Test Environment for TiDB]
[TiDB Version] V7.2.0

[Encountered Issue: Problem Description and Impact]
Does anyone know what the tiproxy component in the image is? I can’t find any information about it on the forum.

| username: songxuecheng | Original post link

It will be released later, the front-end proxy component.

| username: Kongdom | Original post link

TiProxy is a database proxy that is based on TiDB. It keeps client connections alive while the TiDB server upgrades, restarts, scales in, and scales out.

TiProxy is forked from Weir.

| username: ShawnYan | Original post link

Very sensitive to new things :+1:
It’s just that version 0.1 has just been released, and there’s still a way to go before the official GA, so there’s not much information available.

| username: redgame | Original post link

It looks like load balancing from the name.

| username: h5n1 | Original post link

Does it have VIP capabilities?

| username: Kongdom | Original post link

It appears to be open-source, and the version is only v0.1.1.

| username: h5n1 | Original post link

If it’s just a Proxy, you still have to solve the VIP issue yourself, which loses a lot of meaning.

| username: Kongdom | Original post link

:thinking: What do you mean by VIP?

| username: h5n1 | Original post link

The capability of keepalive

| username: 裤衩儿飞上天 | Original post link

Based on Weir, Weir should have this feature, but it is relatively heavy. I am not sure which features Tiproxy will add or remove. Waiting for GA.

| username: Kongdom | Original post link

Looking at the description, it should have keepalived.

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

I hope there is a load balancing feature. It’s a bit troublesome to handle it myself.

| username: ShawnYan | Original post link

It can replace HAProxy and Keepalived.

| username: HappyUncle | Original post link

Judging by the name, it is a proxy. From the documentation, the capabilities it will provide in the future go far beyond just being a proxy.

| username: 春风十里 | Original post link

Finally, someone developed it. Happy.

| username: Jellybean | Original post link

Looking forward to the appearance of this component, but I also hope it can be lightweight enough and not so heavy.

| username: Kongdom | Original post link

Looking forward to it together, it can save a lot of deployment effort.

| username: 孤君888 | Original post link

It might just be a front-end proxy that proxies multiple TiDB-Servers on the back end, so you don’t need to configure additional things like Haproxy yourself.

| username: Kongdom | Original post link

Yes, it feels very likely to be the case.