Arana
is a Cloud Native Database Proxy. It can be deployed as a Database mesh sidecar. It provides transparent data
access capabilities,
when using Arana
, user doesn't need to care about the sharding
details of database, they can use it just like a
single MySQL
database.
Stargazers Over Time | Contributors Over Time |
---|---|
Introduction | 中文
First, Arana
is a Cloud Native Database Proxy. It provides transparent data access capabilities, when using Arana
,
user doesn't need to care about the sharding
details of database, they can use it just like a single MySQL
database.
Arana
also provide abilities of Multi Tenant
, Distributed transaction
, Shadow database
, SQL Audit
, Data encrypt / decrypt
and so on. Through simple config, user can use these abilities provided by Arana
directly.
Second, Arana
can also be deployed as a Database mesh sidecar. As a Database mesh sidecar, arana switches data access
from
client mode to proxy mode, which greatly optimizes the startup speed of applications. It provides the ability to manage
database
traffic, it takes up very little container resources, doesn't affect the performance of application services in the
container, but
provides all the capabilities of proxy.
Feature | Complete |
---|---|
Single DB Proxy | √ |
Read Write Splitting | √ |
Sharding | √ |
Multi Tenant | √ |
Distributed Primary Key | √ |
Shadow Table | √ |
Tracing / Metrics | √ |
Distributed Transaction | WIP |
Database Mesh | WIP |
SQL Audit | WIP |
Data encrypt / decrypt | Roadmap |
SQL LIMITER | Roadmap |
Please reference this link Getting Started
arana start -c ${configFilePath}
- Go 1.20+
- MySQL Server 5.7+
- TiDB - The SQL parser used
Arana
Chinese Community Meeting Time: Every Saturday At 9:00PM GMT+8
Thanks for your help improving the project! We are so happy to have you! We have a contributing guide to help you get involved in the Arana project.
Thanks to all developers!
Arana
software is licenced under the Apache License Version 2.0. See
the LICENSE file for details.