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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -