1

What Is a Microservice?

A microservice is a small, independent, and single-tasked piece of software that is part of a larger application and can be used by different applications. An important point to note is that a microservice is independent, meaning that if there is a problem with a particular microservice, that problem can’t affect the application’s overall functionality. You can modify and debug a microservice without affecting other microservices or the application itself.

Furthermore, a microservice is a self-contained program that runs asynchronously while collectively completing a process with other microservices or applications. For example, to reset a password on request, one microservice resets the login retry threshold, another ...

Get Hands-On Microservices with Django now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.