Handling web servers of high traffic sites
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Handling web servers of high traffic sites

on

  • 7,086 views

A

A
Seminar
On
Handling High Traffic Websites

Statistics

Views

Total Views
7,086
Views on SlideShare
7,078
Embed Views
8

Actions

Likes
0
Downloads
62
Comments
0

3 Embeds 8

http://blog.ashfame.com 6
http://www.slideshare.net 1
http://translate.googleusercontent.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
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Handling web servers of high traffic sites Presentation Transcript

  • 1. Handling High Traffic Websites
    A
    Seminar
    On
    Handling High Traffic Websites
    By
    AshishKumar aka Ashfame
    CP06023 / 06EJECS022
  • 2. Processing Load
  • 3. What slows down?
  • 4. Areas to improve
  • 5. On-Site Improvements
    DNS Lookups
    SERVER
    SERVER
    SERVER
    ashfame.com/code.js
    blog.ashfame.com/style.css
    bbninja.com/guide.pdf
  • 6. On-Site Improvements
    HTTP Requests
    SERVER
    blog.ashfame.com
  • 7. On-Site Improvements
    CSS Sprites
  • 8. On-Site Improvements
    Minify CSS
  • 9. On-Site Improvements
    Minify JS
  • 10. Browser Cache
    On-Site Improvements
    Browser Cache
    SERVER
    blog.ashfame.com
  • 11. On-Site Improvements
    Reduce Image size (Image format)
    Use Content Distribution Network (CDN)
    Gzip Compression
    JIT Approach – CSS at top | JS at bottom
    Avoid CSS expressions
  • 12. Server Side Improvements
    Employ Caching
  • 13. Server Side Improvements
    Setup a Proxy Server
    Database Server
    Back End Server (Apache | IIS)
    Front End Server (Nginx)
    HTTP Client
  • 14. Server Side Improvements
    Master Slave DB Setup
    Master
    Slave 1
    Slave II
    Slave III
    Heavy Load
    Usual Load
  • 15. Server Side Improvements
    Load Balancer
    SERVER1
    SERVER II
    SERVER III
    SERVER IV
    SERVER V
    SERVER VI
    Load Balancer
    Requests (Heavy Load)
  • 16. Server Side Improvements
    RAID Configuration
    Threaded Model over Processes Model
    MySQL (Database Server) Tweaking Settings
    MySQL Storage Engine (InnoDB | MyISAM)
    Avoid hitting Swap (I/O) at all cost
  • 17. Your Approach
  • 18. Case study - Google
  • 19. Case study - Facebook
  • 20. Case study - YouTube
  • 21. Queries?