BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
67 / 81 · Module 17 — Interview System-Design Scenarios · filtered: interview← prev⊞ allnext →

17.13Determine dependencies

Do the three calls depend on each other?

Suppose all need:

customerId

and are otherwise independent.

Then:

Scatter-Gather

is a natural candidate.

Architecture:

GET /customer-profile/C001
         ↓
Customer Process API
         ↓
      Scatter-Gather
      ┌────┼─────┐
      ↓    ↓     ↓
Salesforce Billing Loyalty
System API API    API
      └────┼─────┘
           ↓
       DataWeave
           ↓
        response