“We built a Twitter-scale Mastodon instance from scratch in only 10k lines of code. This is 100x less code than the ~1M lines Twitter wrote to build and scale their original consumer product, which is very similar to Mastodon. […] The instance has 100M bots posting 3,500 times per second at 403 average fanout to demonstrate its scale.”
In @hakendran gehört und für gut befunden.
Most of Twitter’s code is probably for pushing tweets onto everyone’s timeline based on all tracking data collected about them, the topics they most interact with and how much and which advertisers have paid.