weir

module
v0.0.0-...-89d789c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2022 License: Apache-2.0

README

Weir

Weir is a database proxy middleware platform, mainly providing traffic management for TiDB.

Weir is maintained by 伴鱼 and PingCAP.

中文文档

Features

  • L7 Proxy

Weir provides application layer proxy for MySQL Protocol, and it is compatible with TiDB 4.0.

  • Connection Management

Weir uses connection pool for backend connection management, and supports load balancing.

  • Multi-tenant Management

Weir supports multi-tenant management. All the namespaces can be dynamic reloaded in runtime.

  • Fault Tolerance

Weir supports rate limiting and circuit breaking to protect both clients and TiDB servers.

Architecture

There are three core components in Weir platform: proxy, controller and UI dashboard.

Roadmap

  • Web Application Firewall (WAF) for SQL
  • Database Mesh for TiDB
  • SQL audit

Code of Conduct

This project is for everyone. We ask that our users and contributors take a few minutes to review our Code of Conduct.

License

Weir is under the Apache 2.0 license. See the LICENSE file for details.

Directories

Path Synopsis
cmd
pkg
util/pool
Package pools provides functionality to manage and reuse resources like connections.
Package pools provides functionality to manage and reuse resources like connections.
util/sync2
Package sync2 provides extra functionality along the same lines as sync.
Package sync2 provides extra functionality along the same lines as sync.
util/timer
Package timer provides various enhanced timer functions.
Package timer provides various enhanced timer functions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL