Why you shouldn't do application-level sharding
A technical article argues against application-level sharding, where the logic for routing data to database servers is embedded in application code, as a way to scale OLTP databases such as Postgres or MySQL. It follows a hypothetical fast-growing online marketplace whose buyers, sellers, orders and payments share one Postgres database through its first thousand days after sharding. Read replicas do not relieve write load on the primary, larger servers have a ceiling, and very large databases bring hours-long backups and lagging replicas.
AI-written summary, checked against the cited sources. How summaries work
