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!