Re:Honda bucks industry trend by removing touchscreen controls
by twomoretime on Tuesday March 31, 2020 @07:50PM
(#22744112)
It's not about minimizing points of failure, it's about removing singular points of failure. Perhaps "redundant" was the wrong word but the point is instead of having a single UI component (touchscreen/UI thread) which can cause the whole system to fail, if you group buttons/knobs into individual microservices they are unlikely to all go down simultaneously.
[ Parent
| on HN ]
Re:Honda bucks industry trend by removing touchscreen controls
by mattmanser on Tuesday March 31, 2020 @09:31PM
(#22744750)
I don't get how we can explain it in a simpler way? If you add a microservice, you're adding another point of failure. You add another interaction, you add more code. Add more code, you add more bugs.
It's pretty much the only empirical thing we have in software engineering, more code = more bugs.
Lots of little microservices means lots of extra code means lots of extra bugs.
Plus you've got to manage how they all interact. Which microservice has priotity? Did you even think of that? The breaking microservice? Or the volume microservice? Did you even think of that or try and test that? Your breaks get disabled every time you turn up the volume?
Whoops, you just killed a thousand people with your "redundant" microservices.
Re:Honda bucks industry trend by removing touchscreen controls
by hvidgaard on Wednesday April 01, 2020 @01:27AM
(#22745980)
Erlang is build around the idea of microservices and message parsing. It's by far one of the best languages we have to make fail tolerant programs - it was invented to solve exactly that problem. While it does not mean you can take every program in any language and make them into a micro service architecture, it shows that if implemented correctly, the idea of microservices and messages absolutely increase reliability.
Re:Honda bucks industry trend by removing touchscreen controls
by asfarley on Wednesday April 01, 2020 @03:49AM
(#22746611)
Do you object to redundancy under all circumstances, or only when it’s preceded by “microservice”?
Re:Honda bucks industry trend by removing touchscreen controls
by dkersten on Wednesday April 01, 2020 @07:50AM
(#22747731)
If you add one microservice, you add a point if failure, but if you then add a few redundant copies of that microservice, for failover, then you don’t add a point of failure.
Re:Honda bucks industry trend by removing touchscreen controls
by yakshaving_jgt on Tuesday March 31, 2020 @11:57PM
(#22745496)
So… You're suggesting reducing the impact of potential error… By increasing the surface area of potential error…?!
Re:Honda bucks industry trend by removing touchscreen controls
by dkersten on Wednesday April 01, 2020 @07:54AM
(#22747750)
It depends on the error. If its a logic error that will deterministically break all instances, then sure. If, on the other hand, its a transient error that a backup copy of the service can avoid, then redundancy adds safety. Sometimes safety critical software has multiple redundant units which need to agree, too, for example.