News for hackers. Stuff that matters.
Re:You Want Modules, Not Microservices by throwaway894345 on Tuesday January 03, 2023 @02:06PM (#34236339)
Yeah, it's bin packing, not straight efficiency. Also, people seem to exaggerate latency for RPC calls. I often get the feeling that people who make these latency criticisms have been burned by some nominal "microservices" architecture in which an API call is made in a hot loop or something.

Network latency is real, and some systems really do run on a tight latency budget, but most sane architectures will just do a couple of calls to a database (same performance as monolith) and maybe a transitive service call or something.

Re:You Want Modules, Not Microservices by funnymony on Wednesday January 04, 2023 @08:13AM (#34245126)
Couple of calls is normal. But if you make everything a microservice. And there are dependencies between them, then by design its destined that some hotter loop eventually will contain rpc.