Your SlideShare is downloading. ×
0
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
Simple Site Speed Improvements (SMX 2010)
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

Simple Site Speed Improvements (SMX 2010)

610

Published on

Here an older presentation from 2010 - the basics are still alright and setting up a squid network on your own is even simpler today than it ever was! We use a form of this optimization on …

Here an older presentation from 2010 - the basics are still alright and setting up a squid network on your own is even simpler today than it ever was! We use a form of this optimization on http://www.tradebit.com/ ourselves!

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
610
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
6
Comments
0
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. optimize, reduce & cache Improving Page Speed With Open Source Tools March 2010 by Ralf Schwoebel, CEO www.tradebit.com
  • 2. Who is Ralf?• Started one of the first online Shopping Malls in Germany 1995• Got into SEO in 2002• Started tradebit.com in 2005 as Tradebit, Inc.• Today: more than 20,000 digital good sellers• Answering more than 5 mio. web requests daily21.03.12 2
  • 3. Focus on speed when SEO is done21.03.12 3
  • 4. What makes it slow Your Provider Your Your … …… PotentialCool Site.com ………….. Buyer ………. code (1) The distance of your buyer to the server (2) Your database setup (3) Your programming logic (PHP, Java, etc.) (4) Amount of objects per page requested 21.03.12 4
  • 5. optimize, reduce and cache• Optimize: improve database, improve code, etc.• Reduce: picture size, objects per page, distance, etc.• Cache: have everything ready for the next request21.03.12 5
  • 6. Using Open Source tools• Search: Sphinx (or Lucene)• Cache: Memcache & Squid• Code: XCache for PHP21.03.12 6
  • 7. Embrace the Squid• www.squid-cache.org : free proxy for Lin/Win• Easy to setup, powerful, stable, scalable, fast images Your Wordpress/ vBulletin/ shop + javascript = 20+ reqs .php css21.03.12 7
  • 8. Divide and conquer!• Put the statics into cache, lower server load! Transparent Proxy with Squid images Your Wordpress/ vBulletin/ javascript etc .php css21.03.12 8
  • 9. Go global• Local delivery from the closed hub• Load balancing included, also fail-over squid squid Your page images .php javascript css21.03.12 9
  • 10. How much is it?• Example calculation with 8 VPS Installations• Medium VPS: ca. $50 / month = 400US$ / mThink: „main market and who is far away?“Hosting: California4 US Squids in: TX, NY, MI and FL4 globals in: 1 Europe, 2 Asia, 1 Australia21.03.12 10
  • 11. Config for the adminhttp_port 93.189.89.113:80 vhost vportvisible_hostname es.tradebit.comcache_peer_access p1 allow httpcache_peer 74.55.216.24 parent 80 0 no-query originserver ....sourcehash monitorurl=http://p1.tradebit.com/livewatch.php name=p1 login=PASS#(add more peers for failover)collapsed_forwarding onrefresh_stale_hit 600 secondsacl all src 0/0http_access allow allcache_mem 256 MBcache_swap_low 90cache_swap_high 95cache_dir ufs /opt/squid 10000 16 256maximum_object_size 2048 KBmaximum_object_size_in_memory 512 KB 21.03.12 11
  • 12. Conclusion• A fistful of dollars gives you: – A global content distribution network – Increased speed = higher conversions – A security layer between your site and hackers – A fail-over solution to sleep better – Less load on your main servers21.03.12 12
  • 13. Thank you!For questions: puzzler@tradebit.comTwitter: trabitSkype: tradebit Have a great day! Ralf Schwoebel21.03.12 13

×