Bird
Raised Fist0
HLDsystem_design~10 mins

One-to-one messaging in HLD - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to identify the main component responsible for storing messages.

HLD
The core component for storing messages in one-to-one messaging is the [1].
Drag options to blanks, or click blank then click option'
ALoad Balancer
BMessage Queue
CDatabase
DCache
Attempts:
3 left
💡 Hint
Common Mistakes
Confusing message queue with permanent storage
Choosing cache as the main storage
2fill in blank
medium

Complete the code to specify the component that balances incoming message requests.

HLD
To distribute incoming message requests evenly, the system uses a [1].
Drag options to blanks, or click blank then click option'
ADatabase
BCache
CMessage Broker
DLoad Balancer
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing database instead of load balancer
Confusing message broker with load balancer
3fill in blank
hard

Fix the error in the message delivery flow by choosing the correct component that ensures message delivery to the recipient.

HLD
After storing the message, the system uses a [1] to deliver the message to the recipient in real-time.
Drag options to blanks, or click blank then click option'
ALoad Balancer
BMessage Broker
CPush Notification Service
DDatabase
Attempts:
3 left
💡 Hint
Common Mistakes
Choosing database for delivery instead of message broker
Confusing push notification service with message broker
4fill in blank
hard

Fill both blanks to complete the code describing message storage and retrieval.

HLD
Messages are stored in a [1] and retrieved using a [2] to ensure fast access.
Drag options to blanks, or click blank then click option'
ADatabase
BCache
CLoad Balancer
DMessage Broker
Attempts:
3 left
💡 Hint
Common Mistakes
Using load balancer as storage
Confusing message broker with cache
5fill in blank
hard

Fill all three blanks to complete the code describing the message flow from sender to recipient.

HLD
Sender sends message to [1], which stores it in [2] and then [3] delivers it to the recipient.
Drag options to blanks, or click blank then click option'
ALoad Balancer
BDatabase
CMessage Broker
DCache
Attempts:
3 left
💡 Hint
Common Mistakes
Mixing up delivery and storage components
Choosing cache instead of database for storage