Re:Ask HN: Are we overcomplicating software development?
by api on Wednesday January 18, 2017 @07:10PM
(#13431753)
I tend to try to write monolithic services in such a way that they could be broken up into microservices if that were ever desired.
I don't go too far with this, just avoid things like shared static state and other anti-patterns.
Re:Ask HN: Are we overcomplicating software development?
by brwr on Wednesday January 18, 2017 @09:14PM
(#13432391)
You mean you follow good software development practices? Heresy!
Re:Ask HN: Are we overcomplicating software development?
by hosh on Wednesday January 18, 2017 @07:42PM
(#13431934)
Another option is to start with an umbrella app (Erlang/Elixir/OTP). It can run like a monolithic or ... nano-services (I suppose) within the same monolith. When it is time to split them out, it is easier.
It does assume that you either start with devs familiar with OTP or you have generalist devs that can pick things up quickly.
Re:Ask HN: Are we overcomplicating software development?
by brwr on Wednesday January 18, 2017 @04:01PM
(#13430239)
True. There's another thread in here somewhere talking about premature generalization. I think that's what you're getting at with "Do it too soon and you end up choosing the wrong boundaries".
Sooner or later you get a feel for which bits are becoming at least API stable and could run independently. That's when I split them out.
Do it too soon and you end up choosing the wrong boundaries and tying yourself up in knots, do it too late and your monolith can become a mess that's difficult to detach the pieces of.