News for hackers. Stuff that matters.
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
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

Re:You Want Modules, Not Microservices by bitL on Tuesday January 03, 2023 @09:56AM (#34232112)
They might be using cheaper caching in India and dedicate the more expensive ones to areas of the world they get profit from.
Re:You Want Modules, Not Microservices by JAlexoid on Tuesday January 03, 2023 @07:40PM (#34240276)
An alternative view of this is - Elon isn't a software engineer, so don't listen to him at all.
Re:You Want Modules, Not Microservices by brasic on Tuesday January 03, 2023 @09:28PM (#34241203)
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
Re:You Want Modules, Not Microservices by davej on Tuesday January 03, 2023 @09:52PM (#34241378)
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?
Re:You Want Modules, Not Microservices by oblio on Thursday January 05, 2023 @08:28AM (#34259258)
Musk last wrote code in 1995, most likely.