What is the difference between an API and Microservice? -
i create api rest django, don't understand how convert api micro services, don't understand real difference between these. see api micro service, don't know convert entire api in micro service, need create micro web servers?
please, can't understand micro services, , need understand this.
a microservice exposes it's interface, can do, means of api. api list of endpoints microservice respond when receives command/query. microservice contains api and other internal+hidden things uses respond client's requests.
an api clients see when @ microservice, although microservice bigger that. microservice hides internal structure, it's technology stack, it's database type (sql
, nosql
- anything); microservice move sql
nosql
, python
php
, keep it's api unchanged.
Comments
Post a Comment