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

  • 7,256 views
Uploaded on

A...

A
Seminar
On
Handling High Traffic Websites

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
    Be the first to like this
No Downloads

Views

Total Views
7,256
On Slideshare
7,248
From Embeds
8
Number of Embeds
3

Actions

Shares
Downloads
62
Comments
0
Likes
0

Embeds 8

http://blog.ashfame.com 6
http://www.slideshare.net 1
http://translate.googleusercontent.com 1

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
    No notes for slide

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?