Learning microservice concepts
Microservices are self-contained lightweight processes that communicate over a network. Microservices provides narrowly focused APIs to their consumers. These APIs can be implemented using REST, gRPC, or events.
Microservices are not new—they have been around for many years. For example, Stubby, a general-purpose infrastructure based on Remote Procedure Call (RPC), was used in Google data centers in the early 2000s to connect several services with and across data centers.
Its recent rise is due to its popularity and visibility. Before microservices became popular, monolithic architectures were mainly being used for developing on-premises and cloud-based applications.
A monolithic architecture allows the development of different components, such as presentation, application logic, business logic, and Data Access Objects (DAOs), and then you either bundle them together in an Enterprise Archive (EAR) or a Web Archive (WAR) or store them in...