Summary

In this chapter, we discussed the importance of asynchronous communication when using a Microservices-based design. We discussed various ways of implementing asynchronous communication. We started by discussing a simple REST-based implementation of APS, which helps us to communicate asynchronously among services. Then we looked at web sockets for maintaining persistent connections. This kind of communication is good when we need to send multiple messages asynchronously among services. Finally, we looked at message-oriented middleware to implement asynchronous communication, and hence decouple our services. This kind of communication helps us send messages to a single service through point-to-point communication or multiple services through the publisher-subscriber pattern.

In the next chapter, we will discuss best practices for building a robust set of MicroServices. 

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.22.61.218