Qatar Airways Interview Question

what is microservices architecture and types?

Interview Answer

Anonymous

Jul 26, 2024

Microservices architecture has a number of prominent characteristics, but the main idea is to build an app as a combination of smaller, loosely-coupled units instead of a single monolith. Each of these units is a service dedicated to a specific business capability or process, like transferring a payment or generating an invoice. Microservices are developed in a special way to work independently but communicate with each other. Instead of a single enterprise service bus, microservices use well-defined APIs for communication, as well as message brokers and event streaming. Since each service has its own codebase, they can be written in different programming languages and utilize different technology stacks. As a rule, only a rather small development team is necessary to work on a single service. microservices are divided into stateful and stateless categories