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

Like this? Share it with your network

Share

Architecture Of Large Scale Websites

on

  • 8,245 views

Architecture Of Large Scale Websites

Architecture Of Large Scale Websites

Statistics

Views

Total Views
8,245
Views on SlideShare
8,179
Embed Views
66

Actions

Likes
13
Downloads
229
Comments
1

3 Embeds 66

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

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
  • 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 Presentation Transcript

  • 1. Architecture of Large-Scale Websites Yu Feng 06/08/2008
  • 2. Agenda
      • Static Content
      • Image Servers
      • Database
      • Cache
      • Mirror
      • Load Balance
  • 3. Static Content
      • Use CMS (Content Management System)
        • Can be managed easily (add/remove/modify)
        • Channels
  • 4. 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)
  • 5. Image Servers
      • Use separate image servers
        • Images
          • Small size
          • Large amount
        • Reduce the stress of the main server
        • Can be optimized
          • nginx
          • lighttpd
  • 6. Database
      • Improve the design of your database
        • Tables
      • Tuning
        • Your application
  • 7. Database (cont’d)
      • Use database clusters
        • Oracle
        • MySQL
          • MySQL Replication Master/Slave)
          • MySQL-Proxy
  • 8. Cache
      • Why caching is important?
  • 9. Cache (cont’d)
      • Apache
      • Squid
      • Ncache
      • Memcached
  • 10. Mirror
      • Different entrance
  • 11. Load Balance
      • DNS
      • What is a L4/L7 switch?
  • 12. Load Balance (cont’d)
      • Hardware
        • F5, Aleton
  • 13. Load Balance (cont’d)
      • LVS
      • HAProxy
  • 14. The End Thanks