Your SlideShare is downloading. ×
Cross Training For Your Plone Deployment
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

Cross Training For Your Plone Deployment

1,026
views

Published on

Published in: Technology

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
1,026
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
14
Comments
0
Likes
1
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. Cross Training for Your Plone Deployment Plone Conference 2008 Andrew Parker nowhere to go but open source sixfeetup.com/dw08 1
  • 2. NOT my brothers si xfeet up. com/d w08 2
  • 3. Overview si xfeet up. com/d w08 3
  • 4. A Talk on Deployment? si xfeet up. com/d w08 4
  • 5. Now What? • Anonymous Users: Requests: 95.4 requests/sec Page Views: 6.9 views/sec • Authenticated Users: Requests: 28.6 requests/sec Page Views: 2.4 views/sec si xfeet up. com/d w08 5
  • 6. Parts of a Deployment • Hardware / OS • Caching • HTTP Server • ZEO Cluster • Maintenance si xfeet up. com/d w08 6
  • 7. What Hardware? si xfeet up. com/d w08 7
  • 8. Deployment Platforms si xfeet up. com/d w08 8
  • 9. Caching si xfeet up. com/d w08 9
  • 10. Types of Cache si xfeet up. com/d w08 10
  • 11. Squid • Configure accelerated domains • Setup ACLs to allow purges from Zope • Set memory and disk cache sizes • Check refresh pattern si xfeet up. com/d w08 11
  • 12. CacheFu si xfeet up. com/d w08 12
  • 13. CacheFu Rules si xfeet up. com/d w08 13
  • 14. Browser Headers • Conditional GET Requests • Last-Modified • If-Modified-Since • Expires • Cache-Control • max-age • E-Tags • If-None-Match si xfeet up. com/d w08 14
  • 15. Firebug si xfeet up. com/d w08 15
  • 16. RAM Caching si xfeet up. com/d w08 16
  • 17. URL rewriting si xfeet up. com/d w08 17
  • 18. Nginx Your site. Delivered. si xfeet up. com/d w08 18
  • 19. Apache si xfeet up. com/d w08 19
  • 20. Squid Results • Anonymous Users: Requests: 437.9 requests/sec Page Views: 31.8 views/sec • Authenticated Users: Requests: 52.6 requests/sec Page Views: 4.1 views/sec si xfeet up. com/d w08 20
  • 21. Load Balancing si xfeet up. com/d w08 21
  • 22. Pound si xfeet up. com/d w08 22
  • 23. Example Poundctl: 0. http Listener 127.0.0.1:7080 a 0. Service active (15) 0. Backend PF_INET 127.0.0.1:8080 active (5 0.000 sec) alive 1. Backend PF_INET 127.0.0.1:8081 active (5 0.000 sec) alive 2. Backend PF_INET 127.0.0.1:8081 active (5 0.000 sec) alive si xfeet up. com/d w08 23
  • 24. Putting it Together si xfeet up. com/d w08 24
  • 25. Internet HTTP Request Squid HTTP Nginx HTTP PURGE HTTP Pound HTTP HTTP HTTP Zope Zope Zope Plone Plone Plone zrpc zrpc zrpc Zope Storage Server (ZSS) si xfeet up. com/d w08 25
  • 26. Squid + Pound Results • Anonymous Users: Requests: 489.2 requests/sec Page Views: 35.8 views/sec • Authenticated Users: Requests: 98.9 requests/sec Page Views: 7.3 views/sec si xfeet up. com/d w08 26
  • 27. Other Considerations • Robots.txt • Repozo Scripts • ZODB Packing • Log Rotation si xfeet up. com/d w08 27
  • 28. Photo Credits • http://www.flickr.com/photos/celestemarie/ 2193327230 • http://flickr.com/photos/hisgett/1241275229/ • http://flickr.com/photos/matt-davis/2276357580/ si xfeet up. com/d w08 28
  • 29. Plone Deployment Workshop s i xf eet u p.c om/d w0 8 Register by October 17 and save $100! si xfeet up. com/d w08 29