0
0
Microservicessystem_design~5 mins

First microservice architecture diagram in Microservices - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a microservice in software architecture?
A microservice is a small, independent service that performs a specific function within a larger application. It communicates with other microservices through simple interfaces like APIs.
Click to reveal answer
beginner
Why do we use microservices instead of one big application?
Microservices allow teams to build, deploy, and scale parts of an application independently. This makes the system easier to manage, update, and grow over time.
Click to reveal answer
intermediate
In a microservice architecture diagram, what does an API Gateway do?
An API Gateway acts like a front door that routes client requests to the right microservice. It can also handle security, load balancing, and request transformations.
Click to reveal answer
intermediate
What is the role of a service registry in microservices?
A service registry keeps track of all running microservices and their locations. This helps services find and communicate with each other dynamically.
Click to reveal answer
beginner
Name two common communication methods between microservices.
Microservices commonly communicate using synchronous HTTP/REST calls or asynchronous messaging with queues or event streams.
Click to reveal answer
What is the main advantage of using microservices?
AAvoiding network communication
BBuilding one large, monolithic application
CUsing a single database for all services
DIndependent deployment and scaling of components
In a microservice architecture, what does the API Gateway do?
AStores all application data
BRoutes client requests to appropriate microservices
CRuns the user interface
DManages database transactions
Which component helps microservices discover each other?
ADatabase
BLoad Balancer
CService Registry
DAPI Gateway
Which communication method is asynchronous in microservices?
AMessage queues or event streams
BHTTP REST calls
CDirect database access
DSynchronous API calls
What is a key characteristic of a microservice?
ASmall and focused on a single function
BLarge and handles many functions
CTightly coupled with other services
DRuns only on a single server
Describe the main components and flow in a simple microservice architecture diagram.
Think of how a customer orders food through a waiter who directs the order to the kitchen stations.
You got /5 concepts.
    Explain why microservices improve scalability and maintenance compared to monolithic applications.
    Compare fixing one room’s light in a house versus rewiring the entire house at once.
    You got /5 concepts.