Skip to content
José da Cruz

Enterprise Architect, and Life Thinker

José da Cruz

Enterprise Architect, and Life Thinker

Granularity

josedacruz, August 6, 2023

Granularity

defines the size of each component, part, or module in a distributed system.

  • The size is about what the module does—the features.
  • An impact on modularity, reusability, testability, performance, security, and reusability.
  • Modularity: smaller size leads to more modules.
  • Reusability: the smaller size makes it easier to maintain the features.
  • Testability: the reduced scope, makes the tests easier to maintain.
  • Performance: facilitates the optimization of a module. (not the whole system)
  • Security: it is easier to protect the module.
  • Smaller modules have some advantages: modularity, easier maintenance, distribution, security, and privacy.
  • Smaller modules also have some disadvantages: communication and infrastructure complexity, latency, performance, and global maintenance.
  • What is the right granularity? (future post…)

Related

architecture architecturegranularitymodularityservices

Post navigation

Previous post
Next post

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

  • architecture (167)
  • artificial-intelligence (6)
  • books (2)
  • courses (4)
  • decision-frameworks (4)
  • finances (1)
  • java (8)
  • life-improvement (20)
  • metrics (3)
  • observability (2)
  • puzzles and challenges (3)
  • reviews (1)
  • security (8)
  • Soft Skills (1)
  • spring-boot (36)
  • Systems Thinking (3)
  • GitHub Weekly: AI Agent Tools Trending Right Now (November 2 – November 8, 2026)
  • Designing a Distributed Session Store: Why Sticky Sessions Break Under Load
  • Essential Reading: Release It! — Why Production Is a Different Game Than Development
  • GitHub Weekly: Top 10 Trending Repos (October 26 – November 1, 2026)
  • GitHub Weekly: Architecture & Infra Tools Worth a Look (October 19 – October 25, 2026)
©2026 José da Cruz | WordPress Theme by SuperbThemes