Distributed Database Scaling

Discussions center on horizontal scaling of SQL databases using distributed systems like CockroachDB, YugabyteDB, Citus, and Vitess, versus traditional Postgres limitations with sharding, replication, and consistency challenges.

πŸ“‰ Falling 0.3x Databases
3,698
Comments
20
Years Active
5
Top Authors
#2908
Topic ID

Activity Over Time

2007
6
2008
39
2009
80
2010
102
2011
84
2012
132
2013
119
2014
99
2015
159
2016
181
2017
335
2018
288
2019
212
2020
243
2021
353
2022
374
2023
380
2024
246
2025
254
2026
12

Keywords

PlanetScale DB DBA SQL S3 TigerGraph KV IIUC ClickHouse youtube.com database scaling distributed postgres horizontal transactions mysql rdbms sql databases

Sample Comments

williamdclt β€’ Nov 6, 2021 β€’ View on HN

They mention that PlanetScale uses Vitess, so indeed it might be distributed

cbsmith β€’ Aug 25, 2020 β€’ View on HN

Unless they are sharded and replicated distributed databases...

tmikaeld β€’ Jun 7, 2023 β€’ View on HN

Why not distributed databases like CockroachDB?

klysm β€’ Nov 4, 2024 β€’ View on HN

it’s generally better to avoid the distributed systems problems if you can. Postgres is very flexible and you get very far with it if you use all it has to offer

avinassh β€’ Jan 29, 2023 β€’ View on HN

How does Citus provide horizontal scaling? How does it work?

qaq β€’ Jun 28, 2022 β€’ View on HN

No longer an issue with things like Spanner, CockroachDB etc

wmf β€’ Oct 4, 2009 β€’ View on HN

No, most of the scalable SQL databases are shared-nothing.

takeda β€’ Nov 12, 2019 β€’ View on HN

Google Spanner, CockroachDB etc are in that category.

KingOfCoders β€’ May 17, 2022 β€’ View on HN

It depends on your access pattern, if every application is write heavy to the same data set, this won't work. If every application is light on writes and those are mostly local (like for many SaaS companies), this will work fine with the future Litestream that redirect writes to one db and then distributes the data (if you can live with slightly stale data). Also depends on the size of you company. Slack does 300k/s messages, this won't work :-)

rad_gruchalski β€’ Jun 14, 2023 β€’ View on HN

This is a completely different story. YugabyteDB is about transparent sharding and shard horizontal scalability. Every table is split into tablets. A tablet can be thought of as a shard but one still thinks of a table as a whole. Each tablet is replicated. Replicas can be placed in different regions, even in different computing environments. Want to run it across clouds or span the cloud and bare metal? Ignoring the cost and minding latency, why not. It’s still logical single database with whole