Hello everyone,

Greetings today!

Today, we will learn about spring microservices and their benefits, as well as develop a spring microservices example in the following post [Link shared below] and learn how microservices communicate.

So, let's get started.

Spring microservices enable us to divide large systems into a number of small microservices, allowing us to create loosely coupled applications.

So, using a bank as an example, we can divide our internet banking system into a number of microservices such as

  • Saving account services
  • Fixed deposits services
  • Loan services
  • Insurance services
  • Fund Transfer services
  • Shopping services
  • Credit card services
So this makes our system more available, manageable, and easy to deploy. For example, in the above internet banking example, let's say we have some important updates or issues with loan services and that module will be down for some time, so instead of stopping/deploying entire internet banking services, we can only deploy our loan service updates.



Refer to my post Spring Microservices - Netflix Eureka Service Registration and Discovery for more information on how to build the above example.

Thanks
Enjoy your learning!

Another post you can refer to is