What is a microservice in the context of software architecture?
A) A small, independently deployable service that performs a specific business function
B) A single, large monolithic application
C) A database schema
D) A user interface module
Answer:
A) A small, independently deployable service that performs a specific business function
Explanation:
Microservices are a software architectural style where applications are composed of small, independently deployable services that each perform a specific business function. These services are loosely coupled, meaning they can be developed, deployed, and scaled independently of one another.
Microservices communicate with each other over a network using lightweight protocols, such as HTTP or messaging queues. This architecture promotes flexibility, as each service can be developed using different technologies and can be scaled individually based on demand.
Reference links:
https://www.javaguides.net/p/spring-boot-microservices-tutorial.html