Scalable System Design: Building for Millions and Beyond #systemdesign #systemdesigninterview #database Vertical scaling Vertical scaling, also known as scaling up, is the scaling by adding more power (CPU, RAM, DISK, etc.) to an existing machine. There are some powerful database servers. Horizontal scaling Horizontal scaling, also known as sharding, is the practice of adding more servers. Sharding separates large databases into smaller, more easily managed parts called shards. Each shard shares the same schema, though the actual data on each shard is unique to the shard. Millions of users and beyond Keep web tier stateless Build redundancy at every tier Cache data as much as you can Support multiple data centers Host static assets in CDN Scale your data tier by sharding Split tiers into individual services Monitor your system and use automation tools My Cannel : @myakcoding Blogging Web Site : About us AK Coding, the ultimate destination for developers seeking to empower themselves with programming concepts and code!. If seeking Mobile and Web development Whether you’re a beginner looking to learn the fundamentals or an experienced developer seeking to expand your skills, this is the place for you.











