News for hackers. Stuff that matters.
Re:Microservices Should Form a Polytree by waterproof on Friday December 12, 2025 @01:50PM (#46247312)
Yeah if services can't be used by multiple other services, then what's the point?
Re:Microservices Should Form a Polytree by mon_ on Friday December 12, 2025 @02:53PM (#46248048)
The article doesn't make that claim. For example, the service n7 is used by multiple other nodes, namely n3 and n4. There is no cycle there, so it's okay.
Re:Microservices Should Form a Polytree by PunchyHamster on Friday December 12, 2025 @04:37PM (#46249284)
but why is having multiple paths to a service wrong ? The article just claims "it does bad things", without explaining how it does bad things and why it would be bad in that context.
Re:Microservices Should Form a Polytree by spyspy on Friday December 12, 2025 @02:24PM (#46247735)
Treating N4 as a service is fair. I think the article was leaning more toward that idea of N4 being a database, which is a legit bad idea with microservices (if fact defeating the point entirely). My takeaway is that if you're going to have a service that many other services depend on, you can do it but you need to be highly away of that brittleness. Your N4 service needs to be bulletproof. Netflix ran into this exact issue with their distributed cache.