What is the difference between microservices and webservices?

Amir.F picture Amir.F · Aug 2, 2017 · Viewed 22.5k times · Source

The closest I got to finding the actual difference is this article.

But I didn't understand what would make me choose one over the other and if microservices can also use a REST API and communicate via http.

I mainly didn't understand what a microservice is and if it can come instead of a webservice, other than the purpose of

breaking large software applications into loosely coupled modules

Answer

Kayaman picture Kayaman · Aug 2, 2017

A microservice is a software architecture, which can be implemented with webservices.

A webservice is just a technology (one of many) for providing services over "web" or HTTP.