Activity Forums Salesforce® Discussions What are fine grained and coarse grained components in Salesforce?

  • suniti

    Member
    July 10, 2018 at 9:57 am

    Hello Prachi

    Coarse-grained -A few objects hold a lot of related data that's why services have broader scope in functionality. larger components than fine-grained, large sub components. Simply wraps one or more fine-grained services together into a more coarse­-grained operation.
    Fine-grained - More objects each holding less data that's why services have more narrow scope in functionality. smaller components of which the larger ones are composed, lower ­level service

    It is better to have more coarse-grained service operations, which are composed by fine-grained operations

    Thank you.

     

  • Avnish Yadav

    Member
    September 10, 2018 at 6:51 am

    Hello Prachi,

    Coarse-grained components provide a significant amount of functionality in a single component, and might add a lot of information and user interface to the page it’s used on.

    Fine-grained components provide more focused functionality, and enable you to design the page to look and behave the way you want.

    Thanks.

  • Parul

    Member
    September 10, 2018 at 12:48 pm

    Hi

     

    Coarse-grained systems consist of fewer, larger components than fine-grained systems; a coarse-grained description of a system regards large subcomponents while a fine-grained description regards smaller components of which the larger ones are composed.

     

    Fine-grained - smaller components of which the larger ones are composed, lower­level service

     

    Thanks.

  • shariq

    Member
    September 15, 2018 at 10:32 am

    Hi,

    To get it more simple -

    Granularity is the extent to which a system is broken down into small parts, either the system itself or its description or observation. It is the extent to which a larger entity is subdivided. For example, a yard broken into inches has finer granularity than a yard broken into feet.

    Coarse-grained systems consist of fewer, larger components than fine-grained systems; a coarse-grained description of a system regards large subcomponents while a fine-grained description regards smaller components of which the larger ones are composed

    Hope this helps.

Log In to reply.

Popular Salesforce Blogs