Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incubating Project: DB Proxy/Mesh for TiDB #287

Open
niubell opened this issue Aug 25, 2020 · 3 comments
Open

Incubating Project: DB Proxy/Mesh for TiDB #287

niubell opened this issue Aug 25, 2020 · 3 comments
Labels
status/LGT1 Indicates that a PR has LGTM 1. status/LGT2 Indicates that a PR has LGTM 2.

Comments

@niubell
Copy link

niubell commented Aug 25, 2020

Project Incubating Request

A Proxy/Mesh for TiDB that can replace Layer 4 load balancing such as SLB+Haproxy. It works in Proxy or Mesh(like Envoy) mode but can understand sql semantics, we call it weir.

Describe the project you want to incubate:

Summary

TiDB is adopted by PalFish(伴鱼) since 2016 and is the most important OLTP/OLAP database in our company. We use SLB+Haproxy as the Layer 4 load balancing before, but we want more features in L4 Proxy to keep tidb safe.

Motivation

This proposal will offer features as follows:

  • Auto-Detect Rate limiting、Circuit breaker.
  • Multi-tenancy.
  • Service discovery with smart client.
  • Connection pool.
  • Database Mesh for TiDB.
  • Web Application Firewall (WAF) for sql.
  • More metrics, such as tenant-dashboard which have hot/slow sql fingerprint.
  • Route across multi data centers.
  • SQL audit、slow sql statistics、session statistics、shadow database for benchmark and so on.

Estimated Time

6 months

Initial Team Members

徐成选(cx3ptr)
曹东瑜(eastfisher)

Your RFC/Proposal?

@winkyao
Copy link
Contributor

winkyao commented Aug 25, 2020

Great project, LGTM @siddontang

@winkyao winkyao added the status/LGT1 Indicates that a PR has LGTM 1. label Aug 25, 2020
@siddontang siddontang added the status/LGT2 Indicates that a PR has LGTM 2. label Aug 25, 2020
@siddontang
Copy link
Member

approved

@winkyao
Copy link
Contributor

winkyao commented Aug 25, 2020

Repo created: https://github.com/pingcap-incubator/weir

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/LGT1 Indicates that a PR has LGTM 1. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

No branches or pull requests

3 participants