REST vs messaging

Lesson 137

RESTMessaging
  • Guarantee that if request is processed than all good (e.g. payment)

  • Responsiveness

πŸ‘

  • If call to second service fails => the whole request fails

πŸ‘Ž

  • use REST for external communication

  • use messaging for internal communication

Last updated