What is the difference between an API and Microservice?

sm433403

I create my API rest with Django, but I don't understand how convert an API to micro services, I don't understand the real difference between these. I see an API like a micro service, but I don't know convert an entire API in micro service, I need create micro web servers?

Please, I can't understand a micro services, and I need understand this.

Constantin Galbenu

A microservice exposes it's interface, what it can do, by means of an API. The API is the list of all endpoints that a microservice respond when it receives a command/query. The microservice contains the API and other internal+hidden things that it uses to respond to client's requests.

An API is all that the clients see when they look at the microservice, although the microservice is bigger than that. A microservice hides its internal structure, it's technology stack, it's database type (sql, nosql - it could be anything); a microservice could move from sql to nosql, from python to php, but keep it's API unchanged.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Difference between a Module & Microservice

From Java

What is the difference between asDouble() and doubleValue() in Jackson API?

From Java

What is the difference between a web API and a web service?

From Java

What is the difference between an API App and a Web App?

From Dev

What the difference between [FromRoute] and [FromBody] in a Web API?

From Dev

What is the difference between JDBC and a Java API?

From Dev

What's the difference between the client and the server API

From Dev

what is the difference between the Twitter streaming API and REST?

From Dev

What is difference between eclipse compare API?

From Dev

what is the difference between api and device files in linux?

From Dev

What's the difference between a protocol and API?

From Dev

What exactly is the difference between Web API and REST API in MVC?

From Dev

What's the difference between an Saas and an API. (SaaS vs Api)

From Dev

What's the difference between Ruby Core API and Standard Library API?

From Dev

What is the difference between rs-api and jsr311-api

From Dev

what is the difference between REST API and normal API in grails?

From Dev

What is a good practice to promote a microservice to a public API?

From Dev

What is the difference between body and body-params in compojure-api?

From Java

What is the difference between CloseableHttpClient and HttpClient in Apache HttpClient API?

From Dev

What is the difference between a regular Rails app and a Rails API?

From Dev

What is the difference between Push API and Server Sent Events?

From Dev

What's the difference between OAuthAccessTokenException and APIRequiresAuthenticationError in Instagram's API?

From Dev

What is the difference between swagger-api and JAX-RS?

From Dev

What is the difference between the cuda api cu... and cuda...?

From Dev

What is the difference between the hive jdbc client and the hive metastore java api?

From Dev

What is the difference between the class "Class" in the Java API and the "class" keyword?

From Dev

What's the difference between 'access token' and 'code' in Instagram API?

From Dev

What is the difference between API platform and system image in Android?

From Dev

What is the difference between Authorization and Authentication in Google Analytics API?

Related Related

  1. 1

    Difference between a Module & Microservice

  2. 2

    What is the difference between asDouble() and doubleValue() in Jackson API?

  3. 3

    What is the difference between a web API and a web service?

  4. 4

    What is the difference between an API App and a Web App?

  5. 5

    What the difference between [FromRoute] and [FromBody] in a Web API?

  6. 6

    What is the difference between JDBC and a Java API?

  7. 7

    What's the difference between the client and the server API

  8. 8

    what is the difference between the Twitter streaming API and REST?

  9. 9

    What is difference between eclipse compare API?

  10. 10

    what is the difference between api and device files in linux?

  11. 11

    What's the difference between a protocol and API?

  12. 12

    What exactly is the difference between Web API and REST API in MVC?

  13. 13

    What's the difference between an Saas and an API. (SaaS vs Api)

  14. 14

    What's the difference between Ruby Core API and Standard Library API?

  15. 15

    What is the difference between rs-api and jsr311-api

  16. 16

    what is the difference between REST API and normal API in grails?

  17. 17

    What is a good practice to promote a microservice to a public API?

  18. 18

    What is the difference between body and body-params in compojure-api?

  19. 19

    What is the difference between CloseableHttpClient and HttpClient in Apache HttpClient API?

  20. 20

    What is the difference between a regular Rails app and a Rails API?

  21. 21

    What is the difference between Push API and Server Sent Events?

  22. 22

    What's the difference between OAuthAccessTokenException and APIRequiresAuthenticationError in Instagram's API?

  23. 23

    What is the difference between swagger-api and JAX-RS?

  24. 24

    What is the difference between the cuda api cu... and cuda...?

  25. 25

    What is the difference between the hive jdbc client and the hive metastore java api?

  26. 26

    What is the difference between the class "Class" in the Java API and the "class" keyword?

  27. 27

    What's the difference between 'access token' and 'code' in Instagram API?

  28. 28

    What is the difference between API platform and system image in Android?

  29. 29

    What is the difference between Authorization and Authentication in Google Analytics API?

HotTag

Archive