Hacker News new | past | comments | ask | show | jobs | submit login

Everyone has an opinion; mine is around lines of code.

Do you (as in your entire company/maybe eng department) have less than 100k LOC? If yes, you should stay in a monolith (except for potentially breaking out very specific performance/storage use cases).

Do you have more than 100k LOC? You should start breaking things up so that a) teams can own their destiny and b) you can have a technology evolution story that is not "now we have a single 1 million LOC codebase and we can never rewrite it".

Evolving ~10-20 different ~20-50k LOC codebases is doable because of the enforced wire-call API boundaries; evolving 500k-2M LOC monoliths is not, unless maybe you're Google/Facebook and have their tooling and workforce.

Granted, 20-50k LOC per codebase is probably not "micro".




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: