Microservice, or microservices architecture, is a variant of the service-oriented architecture that arranges an application as a collection of loosely coupled services. In this architecture, services are fine-grained and the protocols are lightweight.