BookatlasTwo-Day MuleSoft → Salesforce Bootcamp
241 / 279 · Module 17 — Interview System-Design Scenarios · filtered: code← 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