by cs02rm0 · 9y ago · 0 comments
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.
I don't go too far with this, just avoid things like shared static state and other anti-patterns.
It does assume that you either start with devs familiar with OTP or you have generalist devs that can pick things up quickly.