A microservice is an application architecture that takes every application function and puts it in its own service, isolated from the others. These services are loosely coupled and independently deployable. This architecture emerged as a solution to the old monolithic approach to web application development .