AltHub

apache/shardingsphere Alternatives

distributed SQL / database sharding middleware

Apache ShardingSphere is a Java database middleware that gives existing heterogeneous databases distributed SQL features (sharding, read/write splitting, data encryption, and transactions) through JDBC or proxy modes.

20.8kJavaApache-2.0active · last push 1mo agoGitHub

Drop-in peers

Same problem, same approach. Swapping one for another is a config change, not a rewrite.

vitessio/vitessGitHub

Choose Vitess when you are MySQL-only and want a battle-tested proxy/VTgate clustering system managed with a topology service instead of ShardingSphere.

Vitess is a database clustering system for horizontal scaling of MySQL.

21.3k
Go
Apache-2.0
active1mo ago

Same job, different approach

Solves the same problem with a different architecture or at a different layer. Expect to rewrite the integration.

pingcap/tidbGitHub

Choose it when you want an actual MySQL-compatible distributed SQL database instead of an external middleware that shards your existing databases.

TiDB is built for agentic workloads that grow unpredictably, with ACID guarantees and native support for transactions, analytics, and vector search. No data silos. No noisy neighbors. No infrastructure ceiling.

40.5k
Go
Apache-2.0
active1mo ago
ydb-platform/ydbGitHub

Choose it when you want a self-contained distributed SQL database with strong consistency and multi-tenant operation rather than a proxy over SQL databases.

YDB is an open source Distributed SQL Database that combines high availability and scalability with strong consistency and ACID transactions

4.8k
C++
Apache-2.0
active1mo ago
cockroachdb/cockroachGitHub

Choose it when you want a PostgreSQL-compatible distributed SQL database that scales natively instead of routing/sharding a legacy DB setup.

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

32.4k
Go
NOASSERTION
active2mo ago
citusdata/citusGitHub

Choose it when you are already on PostgreSQL and prefer distributed tables via an in-database extension over an external middleware (note AGPL).

Distributed PostgreSQL as an extension

12.7k
C
AGPL-3.0
active1mo ago
yugabyte/yugabyte-dbGitHub

Choose it when you want a PostgreSQL-compatible distributed SQL database with built-in high availability and no separate gateway layer.

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.

10.5k
C
NOASSERTION
active1mo ago
oceanbase/oceanbaseGitHub

Choose it when you want a multi-model distributed database engine and are willing to migrate off your current databases rather than shard them.

OceanBase is the unified distributed database for the AI era — open-source, multi-model, one engine for your most demanding workloads.

10.3k
C++
Apache-2.0
active1mo ago

Listed as an alternative to

These projects were analysed and named shardingsphere among their alternatives. The relationship is not symmetric — how shardingsphere rates them is a separate judgement, made when shardingsphere is analysed in its own right.

cockroachdb/cockroachGitHub

calls shardingsphere “choose when you need to shard existing databases with a middleware layer instead of migrating to a new database.”

CockroachDB — the cloud native, distributed SQL database designed for high availability, effortless scale, and control over data placement.

32.4kGoactive
vitessio/vitessGitHub

calls shardingsphere “A Java sharding middleware/proxy layer for MySQL and other databases; choose it when you want DB-agnostic sharding rather than a Kubernetes-native MySQL cluster orchestrator.”

Vitess is a database clustering system for horizontal scaling of MySQL.

21.3kGoactive
citusdata/citusGitHub

calls shardingsphere “Choose when you need to shard existing PostgreSQL/MySQL databases via middleware/proxy rather than a Postgres extension.”

Distributed PostgreSQL as an extension

12.7kCactive
yugabyte/yugabyte-dbGitHub

calls shardingsphere “Choose if you want a middleware layer to shard existing databases without replacing your database.”

YugabyteDB - the cloud native distributed SQL database for mission-critical applications.

10.5kCactive
arch/UnitOfWorkGitHub

calls shardingsphere “Choose it for a broader distributed SQL ecosystem with sharding, scaling, and security, but as a Java proxy, not an EF Core plugin.”

A plugin for Microsoft.EntityFrameworkCore to support repository, unit of work patterns, multiple database with distributed transaction supported, and MySQL multiple databases/tables sharding supported.

1.4kC#dormant