Y
Hacker News
new
|
ask
|
show
|
jobs
by
x87678r
2181 days ago
how does MySQL work for a site like this? I think he said its one instance. Do they have a table for each account?
Also is every mail stored in a row? Attachments too? That isn't how I'd expect it.
1 comments
Axsuul
2181 days ago
Very likely a monolith database (the sharding gives it away) that uses a multi-tenant architecture (`WHERE account_id = ?`)
link