Introduction

ShardingSphere-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.

ShardingSphere-Sidecar Architecture

Comparison

ShardingSphere-JDBCShardingSphere-ProxyShardingSphere-Sidecar
DatabaseAnyMySQL/PostgreSQLMySQL
Connections Count CostHighLowHigh
Supported LanguagesJava OnlyAnyAny
PerformanceLow lossRelatively High lossLow loss
DecentralizationYesNoYes
Static EntryNoYesNo

The advantage of ShardingSphere-Sidecar lies in its cloud native support for Kubernetes and Mesos.