3 ms·
The worst WTF code I have ever seen in my 30+ years career is a 20+ years old micro-services system. More than 150 (!) services creating a level of incomprehens
by deterministic 4y ago
The worst WTF code I have ever seen in my 30+ years career is a 20+ years old micro-services system. More than 150 (!) services creating a level of incomprehensible complexity and crazy failure scenarios that is breath taking to watch. Imagine the worst spaghetti system possible but distributed! I feel very lucky to just be an eye witness and not having to actually work on the project.
Seriously if you don’t know how to write a well structured easy to maintain monolith (using API’s and libraries to clearly separate components) then the worst thing you can do is to choose micro-services. You go from having N problems to having N^M distributed problems with a whole bunch of added failure scenarios you now have to deal with. Crazy!
And it gets even more WTF when different services are written in different programming languages, using different build tools, with service teams not coordinating their development plans or protocols etc.