Simulations

Design Twitter Timeline

Architecture

Client

API Gateway

Fan-out Service

Redis

Kafka

Timeline DB

Traffic

Live requests

Requests / sec (history)

AI Architect

reviewing
Why did you choose to fan-out writes instead of computing the feed at read time?

Latency

45ms

Requests/sec

1,025

CPU

37%

Memory

47%

Error Rate

0.05%

Cost

$128.40