notes

Log | Files | Refs | README

server_scaling.md (1001B)


      1 # Server Scaling
      2 
      3 ## Load Balancer
      4 
      5 A load balancer evenly distributes incoming traffic among web servers that are
      6 defined in a load-balanced set.
      7 
      8 ## Database Replication
      9 
     10 A master database generally only supports write operations. A slave database
     11 gets copies of the data from the master database and only supports read
     12 operations.
     13 
     14 <img src="/assets/system_design-server_scaling.png" alt="Server Setup" width="100%">
     15 
     16 ## Cache Tier
     17 
     18 The [cache](/networking/cache.md) tier is a temporary data store layer, much
     19 faster than the database. The benefits of having a separate cache tier include
     20 better system performance, ability to reduce database workloads, and the ability
     21 to scale the cache tier independently.
     22 
     23 ## Content Delivery Network (CDN)
     24 
     25 A CDN is a network of geographically dispersed servers used to deliver static
     26 content. CDN servers cache static content like images, videos, CSS, JavaScript
     27 files, etc.
     28 
     29 <img src="/assets/cdn_cache_server.png" alt="CDN Cache Server Setup" width="100%">