Search code examples
mysqldatabasearchitecturetwitterscalability

How is Twitter's MySQL database architecture designed? Try your best


No one knows. And even if you work at Twitter, you probably won't let us know the secret.

So, let us all post our theories on how this communication tool database is designed!

It definitely can't follow the standard replication architecture, right? It's got to do some sharding, partitioning, etc, etc.

Let me know what you think!


Solution

  • Twitter uses in memory database and MySQL is just for backup.

    This is a diagram that might explain Twitter's architecture: alt text