REST vs messaging

Lesson 137

REST
Messaging
  • 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

Was this helpful?