|
|
|
|
|
by jameshart
1316 days ago
|
|
Aren’t WhatsApp and telegram messaging services rather than microblogging services? The difference between a messaging app and a microblogging app is basically the difference between an O(n) problem and an O(n^2) problem. If you don’t think that adds some complexity, you’re kidding yourself. |
|
Scaling this is easily done with decomposition and sharding coupled with a suitable key->value mapping of external id to current shard. I first sharded e-mail delivery and storage for millions of users 23 years ago. It was neither hard nor novel to do then, with hardware slower than my current laptop handling hundreds of thousands of users each.