Use case for Reference mapping?

Use case for Reference mapping?

Comments

  • [color=rgb(20, 20, 20)][font=\"Open Sans\

  • Hello peanut,

    Reference mapping is useful in situations where you are storing workflows that will occupy a lot of space.

    For example, lets say you have a flow where you fetch a million records. Further down the flow, you assign a form to someone. Now the flow is stored, but all these objects that were in memory now need to be stored as well.

    Passing by reference doesnt store the fetched objects in memory. Instead, it stores references to those objects which is much lighter in terms of memory and storage consumption. If youre familiar with the different layers of an application this is functioning like the UI layer. You wouldnt store a bunch of objects in the UI, but you might store their ids so you can get them later via a service or database call.

Sign In or Register to comment.