DOCS / SHARDING GATEWAY
Sharding gateway
Spread one database across machines: shards, the gateway, routing and rebalancing.
Sharding and the gatewayWhat shards, the shard map, the route function and the gateway are, when to shard, and what clients seeInstall and run a clusterGet the three binaries from the release archives and Cargo, and run a complete three-shard cluster plus gateway, with the map format and TLS between every pieceConfigurationEvery gateway setting with its default, every shard flag, the shards' run-time settings and the rdb.* session settingsSharded tablesSharded, plain and reference tables, choosing a shard key, uniqueness and sequences, schema changes with rdb-shard ddl, roles through the gatewayRouting and queriesWhat runs on one shard, what fans out or is gathered, transactions, prepared statements, COPY, LISTEN/NOTIFY, native, Redis and MySQL/SQL Server access, error codesMoving dataMoving a tenant, rebalancing (from the tool or REBALANCE CLUSTER), adding a shard by split, what clients see during a move, and the rdb-shard reference for shard clustersHigh availabilityWhat happens when a shard, the home shard or a gateway is down, finishing prepared transactions with rdb-shard resolve, and the Raft previewAdministrationSHOW GATEWAY and every counter, the metrics endpoint, health checks, the configuration API, logs, upgrading without downtime, cluster backup and restoreLimitsEverything the gateway and a sharded cluster do not do, in one list
Other parts: RasterizedDB ServerEnterpriseEmbedded engineRust clientC# / .NET clientSetup scriptsDocker recipes