Sharding-Sidecar (TODO) defines itself as a cloud native database agent of the Kubernetes environment, in charge of all the access to the database in the form of sidecar.
It provides a mesh layer interacting with the database, we call this as Database Mesh
.
Sharding-JDBC | Sharding-Proxy | Sharding-Sidecar | |
---|---|---|---|
Database | Any | MySQL | MySQL |
Connections Count Cost | High | Low | High |
Supported Languages | Java Only | Any | Any |
Performance | Low loss | Relatively High loss | Low loss |
Decentralization | Yes | No | Yes |
Static Entry | No | Yes | No |
The advantage of Sharding-Sidecar lies in its cloud native support for Kubernetes and Mesos.