5 ms·
I think you just captured the essence of why microservices are so popular. Dynamic languages just don't scale to large codebases, so there's enormous pressure t
by stickfigure 9y ago
I think you just captured the essence of why microservices are so popular. Dynamic languages just don't scale to large codebases, so there's enormous pressure to decompose software into chunks that can be digested more easily.
Some amount of this is good, but it often forces the chunk boundaries to be smaller than the "natural" clumping of data and behavior in a distributed system. IMHO this is a much worse problem than a messy monolith; you can refactor a monolithic codebase to be more modular, but refactoring hundreds of microservices is a herculean endeavor.
My problem with microservices is the word micro.
- maxxxxx 9y ago"hundreds of microservices" I can't imagine a scenario where you need hundreds although I don't doubt that people will create such a system.
- jacquesm 9y agoDo not underestimate architecture astronauts, ever.
- Roboprog 9y ago:-) Or non-generalized, custom hard-coded static typed end-points for every single reference/option list and workflow state transition. Welcome to our little "full 'big bang' rewrite" Frankenstein 4.0 :-( Not my idea...
- gedrap 9y agoI was reading "Building Microservices" by Sam Newman, he mentioned that some of his clients moved from monolith to 300+ microservices without going into details, so yeah, that made me wonder about it as well. (it was a decent book otherwise).
- gnaritas 9y ago> Dynamic languages just don't scale to large codebases You mean "popular" dynamic languages due to their lack of tooling. Dynamic languages like Smalltalk scale up just fine, but Smalltalk has automated refactoring tools. In other words it's a tool support problem, not a dynamic language problem.
- Roboprog 9y ago> Dynamic languages just don't scale to large codebases Static languages scale to large codebases. There's no app that a static language (and those who insist on static types) can't turn into a much larger codebase :-) I love the imagery of "mountains of dirt": http://steve-yegge.blogspot.com/2007/12/codes-worst-enemy.html http://steve-yegge.blogspot.com/2007/12/codes-worst-enemy.ht...