Bird
0
0

A BFF aggregates data from multiple microservices and applies business logic. How can you ensure scalability as user load grows?

hard📝 Trade-off Q9 of 15
Microservices - Advanced Patterns
A BFF aggregates data from multiple microservices and applies business logic. How can you ensure scalability as user load grows?
ARun a single BFF instance with no caching.
BDeploy multiple BFF instances behind a load balancer and use caching.
CRemove the BFF and let frontend call microservices directly.
DUse a monolithic backend instead of microservices.
Step-by-Step Solution
Solution:
  1. Step 1: Identify scalability strategies

    Scaling horizontally with multiple instances and caching improves performance under load.
  2. Step 2: Evaluate options

    Deploy multiple BFF instances behind a load balancer and use caching. uses multiple BFF instances and caching, which is best for scalability. Others reduce scalability or increase complexity.
  3. Final Answer:

    Deploy multiple BFF instances behind a load balancer and use caching. -> Option B
  4. Quick Check:

    Horizontal scaling + caching = scalable BFF [OK]
Quick Trick: Scale BFF horizontally with caching [OK]
Common Mistakes:
  • Using single instance limits scalability
  • Removing BFF increases frontend complexity
  • Switching to monolith reduces microservices benefits

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Microservices Quizzes