Architecture Of Large Scale Websites
Upcoming SlideShare
Loading in...5
×
 

Architecture Of Large Scale Websites

on

  • 8,072 views

Architecture Of Large Scale Websites

Architecture Of Large Scale Websites

Statistics

Views

Total Views
8,072
Views on SlideShare
8,007
Embed Views
65

Actions

Likes
13
Downloads
228
Comments
1

3 Embeds 65

http://www.slideshare.net 59
http://www.linkedin.com 5
https://www.linkedin.com 1

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

11 of 1

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Cache frequently accessed data from database close to the web application. Open source in-memory products such as memcached, CSQL Cache can be used to cache frequently accessed data from the database.

    http://www.csqldb.com
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Architecture Of Large Scale Websites Architecture Of Large Scale Websites Presentation Transcript

    • Architecture of Large-Scale Websites Yu Feng 06/08/2008
    • Agenda
        • Static Content
        • Image Servers
        • Database
        • Cache
        • Mirror
        • Load Balance
    • Static Content
        • Use CMS (Content Management System)
          • Can be managed easily (add/remove/modify)
          • Channels
    • Static Content (cont’d)
        • Make it static as much as possible
          • Dynamic pages are always much slower
          • Static pages are more cache-friendly
          • The ways that high traffic sites do
            • Netease, Sina, Mop
              • Convert dynamic pages to static ones (BBS)
    • Image Servers
        • Use separate image servers
          • Images
            • Small size
            • Large amount
          • Reduce the stress of the main server
          • Can be optimized
            • nginx
            • lighttpd
    • Database
        • Improve the design of your database
          • Tables
        • Tuning
          • Your application
    • Database (cont’d)
        • Use database clusters
          • Oracle
          • MySQL
            • MySQL Replication Master/Slave)
            • MySQL-Proxy
    • Cache
        • Why caching is important?
    • Cache (cont’d)
        • Apache
        • Squid
        • Ncache
        • Memcached
    • Mirror
        • Different entrance
    • Load Balance
        • DNS
        • What is a L4/L7 switch?
    • Load Balance (cont’d)
        • Hardware
          • F5, Aleton
    • Load Balance (cont’d)
        • LVS
        • HAProxy
    • The End Thanks