SkillSprout
Chapter 4

Choosing Between Alternatives

Learn to compare options and justify a choice instead of declaring a winner.

1SQL vs NoSQL
Intermediate
9 min
2REST vs RPC (gRPC)
Intermediate
8 min
3Strong vs Eventual Consistency
Intermediate
9 min
4Horizontal vs Vertical Scaling
Intermediate
8 min
5Serverless vs Servers
Intermediate
9 min
6Push vs Pull (Fan-out on Write vs Read)
Intermediate
9 min
7Monolith vs Microservices
Intermediate
9 min
8Batch vs Stream Processing
Intermediate
9 min

Chapter quiz

Choosing Between Alternatives · 6 questions

  1. 1.A booking service must never sell the same seat twice and handles 300 writes per second on 100 GB of data. Which storage choice fits best?

  2. 2.Your product page triggers 40 internal service calls and p99 latency is too high. What is the most sensible change for the internal calls?

  3. 3.A social app has 20M posts per day with 200 followers on average, but a few accounts have 50M followers. What feed strategy is most appropriate?

  4. 4.A service runs 100 sustained requests per second all day with a strict 50 ms p99 target. Using break-even math where serverless costs about $1 per million requests and two small servers cost about $117 per month, what is the better fit?

  5. 5.A bank transfer and a video like counter run on the same replicated database. Which consistency setup is appropriate?

  6. 6.Five microservices are called in a chain for one request and each is 99.9% available. Roughly what availability does the chain have, and what is a good mitigation?

0 of 6 answered