How to Build a Scalable Web Service?
==One Word: Split==
==The AKF Scale Cube== tells us the three dimensions of "splitting":
- ==Horizontal Scaling== Place many stateless servers behind a load balancer or reverse proxy, so that each request can be handled by any of those servers, eliminating single points of failure.
- ==Business Splitting== Typical microservices divided by function, such as auth service, user profile service, photo service, etc.
- ==Data Partitioning== Separate the entire technology stack and data storage specifically for a large group of users, for example, Uber has data centers in China and the United States, with different Pods for different cities or regions within each data center.