
On vacation I finished reading the book Software Architecture: The Hard Parts.
Chapter 3 Architectural Modularity offers these definitions:
Granularity – Size of deployment unit
page 57
Modularity – the breaking apart of applications into separate deployment units
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.
page 186
Granularity – Consisting of or appearing to consist of one or numerous particles forming a larger unit.
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?
Leave a Reply