HLD Mastery / Learn /
Caching
Step 1 of 4
CONCEPT 04
Caching
0 / 4 steps complete
1
Add a database
Drag an RDS node onto the canvas.
2
Add ElastiCache
3
Connect the cache
4
Watch DB pressure drop
YOUR TASK
Drag an
RDS
node onto the canvas. This is your database — every read goes directly to it.
✓ Check my work
Diagram
Client
End Users
Internet
Network
Text
Annotation
Compute
EC2
Compute
Lambda
Serverless
Auto Scaling
EC2 Fleet
Spot Fleet
Spot Instances
Network
ALB
Load Balancer
API Gateway
REST / HTTP
CloudFront
CDN
WAF
Security
Route 53
DNS Routing
Database
RDS
Relational DB
Aurora
High Perf DB
DynamoDB
NoSQL
RDS Replica
Read Replica
DAX
DynamoDB Cache
Cache / Queue
ElastiCache
Cache
SQS
Message Queue
S3
Object Storage
SNS
Pub/Sub
Kinesis
Streaming
S3 Glacier
Cold Archive
Drag components onto the canvas to build your architecture.
React Flow
Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.
SIMULATION
▶ Run
EC2 — t3.micro
Click to edit
CONCEPT TIP
Without a cache, every request hits the database. Popular data gets read thousands of times per second — your DB becomes a bottleneck.
STEP 1 / 4
Add a database
✓ Check