Re:You Want Modules, Not Microservices
by davej on Tuesday January 03, 2023 @08:41AM
(#34231153)
Twitter has a similar issue according to Musk https://twitter.com/elonmusk/status/1592176202873085952
[ Parent
| on HN ]
Re:You Want Modules, Not Microservices
by yellow_lead on Tuesday January 03, 2023 @09:39AM
(#34231860)
The tweet is obviously wrong.
> I was told ~1200 RPCs independently by several engineers at Twitter, which matches # of microservices. The ex-employee is wrong.
> Same app in US takes ~2 secs to refresh (too long), but ~20 secs in India, due to bad batching/verbose comms.
RPCs are on the server side. Why would they app take longer to refresh in India than in the US?
Some more explanation:https://twitter.com/mjg59/status/1592380440346001408
They might be using cheaper caching in India and dedicate the more expensive ones to areas of the world they get profit from.
An alternative view of this is - Elon isn't a software engineer, so don't listen to him at all.
Yep, this is trivial to falsify, Musk jumped to an incorrect conclusion based on some anecdotes that he did not follow: https://twitter.com/Popeska/status/1592179502838435847
Musk may just be wrong but isn’t it also possible that the RPCs need to communicate with an edge node in India. Perhaps government regulation requires them to store/serve some user data from India if serving Indian customers? Or something like that?