Skip to content

Latest commit

 

History

History
43 lines (29 loc) · 1.13 KB

File metadata and controls

43 lines (29 loc) · 1.13 KB

Backend Challenge - Horizontal Scaling

Introduction

Implement horizontal scaling for distributed systems with multiple instances.

This challenge is tech-agnostic. Choose your preferred programming language, framework, database, ORM, container orchestration, and load balancing. For senior level, you can use any technologies and patterns.

Objectives

  • Set up distributed application instances
  • Implement load balancing and session management
  • Handle data consistency across instances

Instructions

  1. Environment Setup:

    • Programming language and web framework
    • Database and ORM
    • Container orchestration
    • Load balancer
    • Distributed cache
    • Service discovery
  2. Implementation Details:

    • Configure multiple application instances
    • Implement sticky sessions or stateless design
    • Set up distributed locking and coordination
  3. Testing:

    • Test load distribution and failover

Possible Improvements

  • Add auto-scaling
  • Implement distributed transactions
  • Set up global load balancing

Conclusion

By completing this challenge, you will master horizontal scaling.

Happy coding!