talira

Apache ShardingSphere

Distributed SQL layer for sharding, read/write splitting and encryption on top of existing databases

open sourceApache-2.0self-hostablefree

Apache ShardingSphere is a layer on top of existing databases (MySQL, PostgreSQL, SQL Server, Oracle, MariaDB and other SQL-92 databases) that makes many of them work like one, without creating a new database. It shards data across databases to scale computing and storage horizontally, splits reads and writes with load balancing across replicas, runs distributed transactions with XA and BASE engines, encrypts and masks data transparently, federates queries across data sources and migrates data while sharding it. Applications reach it two ways, alone or together: ShardingSphere-JDBC, an enhanced JDBC driver for Java applications, and ShardingSphere-Proxy, a database proxy deployed as a separate server that speaks the MySQL and PostgreSQL protocols to any client. Its micro-kernel architecture is pluggable, and ShardingSphere-on-Cloud deploys it on Kubernetes. It's an Apache Software Foundation project, written in Java.

Problems it solves

  • shard my MySQL or PostgreSQL tables across several servers without rewriting my app
  • split reads to replicas and writes to the primary automatically
  • encrypt sensitive columns in my existing database without changing application code

Features

  • data sharding across databases
  • read/write splitting with load balancing
  • distributed transactions (XA and BASE)
  • transparent data encryption and masking
  • query federation across data sources
  • data migration while sharding
  • ShardingSphere-JDBC driver for Java
  • ShardingSphere-Proxy speaking MySQL and PostgreSQL protocols
  • Kubernetes deployment with ShardingSphere-on-Cloud

Capabilities

Takes pluginsplan not known

Alternatives

The same job

These do what Apache ShardingSphere does.

  1. Vitess Scalable. Reliable. MySQL-compatible. Cloud-native. Database.

Compare Apache ShardingSphere with the top 3