DEV Community

Discussion on: The different faces of microservice communication

Collapse
 
jeastham1993 profile image
James Eastham

Hey Srini, thanks for the comment!

I completely agree on the coupling point, and that they should be able to work independently. That's one of the main reasons I always gravitate towards an event-based communication model.

All of the best message brokers support some level of state, so if the order service publishes an event and the product service is offline the event will just wait. Once the product service is back online then the event will be processed.