I am reading Eric Evan's Domain Driven Design, and I encountered this concept on p108. I am having a hard time grasping the concept, in spite of the explanations mentioned on the pages 107 and 108.
Here is an excerpt of the topic from the book:
Medium-grained, stateless SERVICES can be easier to reuse in large systems because they encapsulate significant functionality behind a simple interface. Also, fine-grained objects can lead to inefficient messaging in a distributed system.
As previously discussed, fine grained domain objects can contribute to knowledge leaks from the domain into the application layer, where the domain object's behavior is coordinated.
Can somebody explain to me what is granularity so I can understand more what is being described in the excerpt above?