Actually it can vary "from not that" far to "all the way" (StackOverflow). It depends very much on the schema and the type of workload. But in general people really underestimate how far an RDBMS can take you.
Yes and no - I think people also underestimate how miserable running a single giant RDBMS can be. Everything gets hard and dangerous - backup/restores, upgrades, online migrations & schema changes. Adding the wrong index can easily brings the whole thing down.
They are complicated beasts that get very fragile at the large end (size+throughput)
Re:How does database sharding work?
by ComodoHacker on Friday April 07, 2023 @01:24PM
(#35484260)
Speaking of backups, how do you get consistent backup of a sharded DB? Not everything is sharded, some data are replicated and should be consistent.
Everything becomes fragile at the large end.
well im comparing it to a natively distributed database, like for eg dynamoDB. I've worked with truly massive dynamodb "instances" and you really dont have to do much, they arent fragile, they just work. I don't necessarily know how their backup system works under the hood, but it backs up to a consistent point in time.
Re:How does database sharding work?
by KptMarchewa on Friday April 07, 2023 @12:28PM
(#35483496)
"millions of users" are vastly different scales with different use cases. StackOverflow is mostly serving cached content.
Quite far, possibly to millions of users.
Case in point: StackOverflow runs on SQL Server.