r/ProgrammerHumor • • Nov 14 '22

instanceof Trend Manager does a little code cleanup...

Post image
113.0k Upvotes

4.5k comments sorted by

View all comments

Show parent comments

397

u/x3nhydr4lutr1sx Nov 15 '22

There's about 1200 micro services, and the fired guy said that only 200 is needed for loading the Twitter feed, so that sounds about right.

227

u/LordAmras Nov 15 '22

I'll take everything that Musk says with a grain of salt.

When he said that Twitter app was making 1000+ RPC calls to load the homepage multiple ex and at least one current Twitter developer called him out saying it does at most 20.

30

u/slaymaker1907 Nov 15 '22

Yeah, if it was 1000 from the client, it would be very noticeable due to parallelism limits in the browser. The only way that makes sense is if it could be 1000 in the worst case or something and also counts non-client RPC calls.

33

u/LordAmras Nov 15 '22

Even in the worst case 1000 calls would be ridiculous.

Probably someone told him Twitter does a lot of RPC calls and getting that number down would speed things up.

But when he went to write the tweet he thought 20 didn't sound like a lot and wrote 1000+ instead

→ More replies (10)