0
0
Expressframework~5 mins

Microservice communication basics in Express - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is microservice communication?
Microservice communication is how small, independent services talk to each other to work together as one system.
Click to reveal answer
beginner
Name two common ways microservices communicate.
Microservices communicate using synchronous methods like HTTP/REST and asynchronous methods like message queues.
Click to reveal answer
beginner
What is synchronous communication in microservices?
Synchronous communication means one service waits for a response from another before continuing, like a phone call.
Click to reveal answer
beginner
What is asynchronous communication in microservices?
Asynchronous communication means services send messages and continue working without waiting, like sending an email.
Click to reveal answer
intermediate
Why use asynchronous communication in microservices?
It helps services stay fast and reliable by not waiting for others, which improves system scalability and fault tolerance.
Click to reveal answer
Which communication type waits for a response before continuing?
ABroadcast
BAsynchronous
CSynchronous
DMulticast
Which protocol is commonly used for synchronous microservice communication?
AMQTT
BSMTP
CFTP
DHTTP/REST
What is a benefit of asynchronous communication?
AFaster response time
BRequires less code
CNo need for network
DAlways uses HTTP
Which tool is often used for asynchronous messaging in microservices?
AMessage queue
BREST API
CSOAP
DWebSocket
What happens if a synchronous call fails in microservices?
ACaller waits indefinitely
BCaller can handle error or timeout
CMessage is queued automatically
DNo impact on caller
Explain the difference between synchronous and asynchronous communication in microservices.
Think about waiting for responses versus sending messages and continuing.
You got /4 concepts.
    Describe why asynchronous communication can improve microservice system scalability.
    Imagine a busy restaurant kitchen where cooks don’t wait for each other.
    You got /4 concepts.