• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Handling web servers of high traffic sites
 

Handling web servers of high traffic sites

on

  • 6,535 views

A

A
Seminar
On
Handling High Traffic Websites

Statistics

Views

Total Views
6,535
Views on SlideShare
6,527
Embed Views
8

Actions

Likes
0
Downloads
58
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 Handling web servers of high traffic sites Presentation Transcript

    • Handling High Traffic Websites
      A
      Seminar
      On
      Handling High Traffic Websites
      By
      AshishKumar aka Ashfame
      CP06023 / 06EJECS022
    • Processing Load
    • What slows down?
    • Areas to improve
    • On-Site Improvements
      DNS Lookups
      SERVER
      SERVER
      SERVER
      ashfame.com/code.js
      blog.ashfame.com/style.css
      bbninja.com/guide.pdf
    • On-Site Improvements
      HTTP Requests
      SERVER
      blog.ashfame.com
    • On-Site Improvements
      CSS Sprites
    • On-Site Improvements
      Minify CSS
    • On-Site Improvements
      Minify JS
    • Browser Cache
      On-Site Improvements
      Browser Cache
      SERVER
      blog.ashfame.com
    • 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
    • Server Side Improvements
      Employ Caching
    • Server Side Improvements
      Setup a Proxy Server
      Database Server
      Back End Server (Apache | IIS)
      Front End Server (Nginx)
      HTTP Client
    • Server Side Improvements
      Master Slave DB Setup
      Master
      Slave 1
      Slave II
      Slave III
      Heavy Load
      Usual Load
    • Server Side Improvements
      Load Balancer
      SERVER1
      SERVER II
      SERVER III
      SERVER IV
      SERVER V
      SERVER VI
      Load Balancer
      Requests (Heavy Load)
    • 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
    • Your Approach
    • Case study - Google
    • Case study - Facebook
    • Case study - YouTube
    • Queries?