HTTP and microservices
HTTP and microservices
Posted Apr 13, 2017 6:46 UTC (Thu) by ssmith32 (subscriber, #72404)In reply to: HTTP and microservices by Cyberax
Parent article: Connecting Kubernetes services with linkerd
I've never really seen *vicious* loops in prod systems. And the loops I've seen certainly never been worth tying your architecture to something like a service bus. Just dumb mistakes. I have seen a vicious loop relying on a subsystem of a generally restfulish system that had a daemon pulling a corrupted message off rabbit, failing to route the message (because it was corrupted) then some lame spring lib used in the component just put the message back, to be "transactional", pulled the same message back off again...Yeah.
To top it off, this is in a system where we can lose a message here and there and it's fine.
The reason given for the logic was "well then the rabbit queue backs up until it triggers an alert, and someone has to manually delete the message, so it's a *good* design, because it alerts us to corrupted message!". Instead of, I dunno, just alerting on corrupted messages??
Little poop emojis, and vicious cycles, that I've seen, are not solved by some grand design. They're solved by limiting the poop in your implementation of a design.
Thanks for the clarification, though, at least I get the logic, even if I disagree.