Your SlideShare is downloading. ×
0
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Handling web servers of high traffic sites
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Handling web servers of high traffic sites

6,597

Published on

A …

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,597
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
80
Comments
1
Likes
0
Embeds 0
No embeds

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<br />A<br />Seminar<br />On<br />Handling High Traffic Websites<br />By<br />AshishKumar aka Ashfame<br />CP06023 / 06EJECS022<br />
  • 2. Processing Load<br />
  • 3. What slows down?<br />
  • 4. Areas to improve<br />
  • 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. On-Site Improvements<br />HTTP Requests<br />SERVER<br />blog.ashfame.com<br />
  • 7. On-Site Improvements<br />CSS Sprites<br />
  • 8. On-Site Improvements<br />Minify CSS<br />
  • 9. On-Site Improvements<br />Minify JS<br />
  • 10. Browser Cache<br />On-Site Improvements<br />Browser Cache<br />SERVER<br />blog.ashfame.com<br />
  • 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. Server Side Improvements<br />Employ Caching<br />
  • 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. 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. 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. 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. Your Approach<br />
  • 18. Case study - Google<br />
  • 19. Case study - Facebook<br />
  • 20. Case study - YouTube<br />
  • 21. Queries?<br />

×