Handling High Traffic Websites<br />A<br />Seminar<br />On<br />Handling High Traffic Websites<br />By<br />AshishKumar ak...
Processing Load<br />
What slows down?<br />
Areas to improve<br />
On-Site Improvements<br />DNS Lookups<br />SERVER<br />SERVER<br />SERVER<br />ashfame.com/code.js<br />blog.ashfame.com/s...
On-Site Improvements<br />HTTP Requests<br />SERVER<br />blog.ashfame.com<br />
On-Site Improvements<br />CSS Sprites<br />
On-Site Improvements<br />Minify CSS<br />
On-Site Improvements<br />Minify JS<br />
Browser Cache<br />On-Site Improvements<br />Browser Cache<br />SERVER<br />blog.ashfame.com<br />
On-Site Improvements<br />Reduce Image size (Image format)<br />Use Content Distribution Network (CDN)<br />Gzip Compressi...
Server Side Improvements<br />Employ Caching<br />
Server Side Improvements<br />Setup a Proxy Server<br />Database Server<br />Back End Server (Apache | IIS)<br />Front End...
Server Side Improvements<br />Master Slave DB Setup<br />Master<br />Slave 1<br />Slave II<br />Slave III<br />Heavy Load<...
Server Side Improvements<br />Load Balancer<br />SERVER1<br />SERVER II<br />SERVER III<br />SERVER IV<br />SERVER V<br />...
Server Side Improvements<br />RAID Configuration<br />Threaded Model over Processes Model<br />MySQL (Database Server) Twe...
Your Approach<br />
Case study - Google<br />
Case study - Facebook<br />
Case study - YouTube<br />
Queries?<br />
Upcoming SlideShare
Loading in...5
×

Handling web servers of high traffic sites

6,825

Published on

A
Seminar
On
Handling High Traffic Websites

1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
6,825
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
81
Comments
1
Likes
0
Embeds 0
No embeds

No notes for slide

Handling web servers of high traffic sites

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

    Clipping is a handy way to collect important slides you want to go back to later.

×