Menu

Making 768 servers look like 1 — PlanetScale
📰

Making 768 servers look like 1 — PlanetScale

Hacker News·4 months ago
#G7xMsJns
#planetscale#database#servers#sharding#server
Reading 0:00
15s threshold

This is 768 servers.

To some, that looks like a lot of computers. To those managing the infrastructure for apps with millions of customers, executing millions of queries per second, pretty normal. Products at this scale frequently require thousands of servers working in unison.

The most difficult infrastructure component to scale is almost always the database. A single database server cannot handle such demand, so we must spread the queries and data out across many servers with database sharding .

Database sharding is the best way to scale a Postgres or MySQL database for anything beyond a few terabytes of data.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.