Skip to content

Commit

Permalink
add new chapter about SRP and shallow modules
Browse files Browse the repository at this point in the history
  • Loading branch information
zakirullin committed Sep 22, 2024
1 parent d0c7d4f commit 56c4ad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ We make changes to our systems to satisfy our stackeholders and users. **They ar
> A module should be responsible to one, and only one, user or stackeholder.
> **Uncle Bob**
Even now, this interpretation can do more harm than good. Looking back at how much cognitive load a decision induces is a more clearer way.
Even now, this interpretation can do more harm than good. This rule can be understood in as many different ways as there are people. Looking back at how much cognitive load a decision induces is a more clearer way.

## Too many shallow microservices
We can apply the above scale-agnostic principle to microservices architecture as well. Too many shallow microservices won't do any good - the industry is heading towards somewhat "macroservices", i.e., services that aren't that shallow. One of the worst and hardest to fix phenomena is so-called distributed monolith, which is often the result of this overly granular shallow separation.
Expand Down

0 comments on commit 56c4ad5

Please sign in to comment.