Please enable JavaScript.
Coggle requires JavaScript to display documents.
Microservices - Coggle Diagram
Microservices
Communication
how they
communicate
REST API
WebSocket
Others
Proxy
API Gateway
Introduction
what is it
multiple backend
backend calls another backend
"modularity" but in the level of tech stack
why microservices
selective scaling
e.g
only duplicate "comment" service in facebook
more structured backend
multiple language backend
JS for logic, PY for ML
API Gateway
what is it
1 backend that will forward to other backends
like master router
analogy
tukang taruh barang di locker
forwards your request to the proper backend
why use API Gateway
for consumers
don't need to remember
other services' ip&port
cors?
Deployment