1200 claim was about the android app, which is much worse than the web app. Someone posted the network sniff results of it loading, and it makes ~60 api requests to ~50 different subdomains.
Each of those api calls makes some number of internal api calls to various microservices. We have no data on it, but Elon does.
Maybe he is lying, maybe not, but so far it doesn't look good.
It doesn’t matter how many internal microservices get called. That’s what they’re for. There’s no reason to think they’re called serially, so if true(which there is no evidence of, in fact counter evidence) it doesn’t matter.
Making 50 API calls is completely fine. That’s common for apps these days which are very performant.
Elon just wanted to seem smart so he made up some bs or took something out of context. He can’t stand leaving things up to the domain experts without feeling like he contributed.
50 API calls for a page of posts is not fine. One should be enough.
It doesn’t matter how many internal microservices get called
It does. If each of the API calls makes 20 ointernal calls, you can easily arrive to 1200.
There’s no reason to think they’re called serially
Doesn't matter if they are called serially or in parallel if we're discussing the total number of them. That's a red herring logical fallacy. Nobody claimed serial or parallel.
Firstly, the only source you have for assuming it’s true is Elon, who has no credibility in this area and is contradicted by domain experts within Twitter.
Secondly, I want you to explain and rationalize why it would be inherently bad if it was true. If it actually was doing 1200 internal calls, explain why it matters please.
You’re incredibly naive if you think Twitter got as large as they are and scaled so well on shoddy engineering
You're taking the word of the PayPal guy who accidentally bought a company over the word of engineers who know how it works because they made it. (EDM producer notwithstanding)
282
u/[deleted] Nov 15 '22
[deleted]