Level up – Modularity & Granularity just new

On vacation I finished reading the book Software Architecture: The Hard Parts.

Chapter 3 Architectural Modularity offers these definitions:

Granularity – Size of deployment unit
Modularity – the breaking apart of applications into separate deployment units

page 57

Chapter 7 Service Granularity is about Granularity integrators and disintegrators. This chapter lists dictionary definitions :

Modularity – Constructed with standardized units or dimensions for flexibility and variety in use.
Granularity – Consisting of or appearing to consist of one or numerous particles forming a larger unit.

page 186

These definitions are hard for me to grasp, I was thinking of something more tangible:

Modularity is the number of individual cubes in the overall cube.

Granularity is the size of an individual cube. The number of features per individual cube represents the cube size.


What do you think about these definitions?

Be the first to comment

Leave a Reply

Your email address will not be published.


*


This site uses Akismet to reduce spam. Learn how your comment data is processed.