Messaging Approaches

  • Distributed components need a communication contract
  • Approach A: Send standardized, readable messages between systems
    • Messages are in standard parsable formats
    • Somewhat human-readable and language-independent
    • HTTP APIs take this approach
  • Approach B: Use the programming model to hide messaging details
    • Fast but harder to debug / inter-operate
    • Remote Procedure Calls use this model

15 / 21