Cross Training For Your Plone Deployment
Upcoming SlideShare
Loading in...5
×
 

Cross Training For Your Plone Deployment

on

  • 1,952 views

 

Statistics

Views

Total Views
1,952
Views on SlideShare
1,936
Embed Views
16

Actions

Likes
1
Downloads
14
Comments
0

3 Embeds 16

http://plone.org 11
http://www.pilotsystems.net 3
http://www.slideshare.net 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Cross Training For Your Plone Deployment Cross Training For Your Plone Deployment Presentation Transcript

  • Cross Training for Your Plone Deployment Plone Conference 2008 Andrew Parker nowhere to go but open source sixfeetup.com/dw08 1
  • NOT my brothers si xfeet up. com/d w08 2
  • Overview si xfeet up. com/d w08 3
  • A Talk on Deployment? si xfeet up. com/d w08 4
  • 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
  • Parts of a Deployment • Hardware / OS • Caching • HTTP Server • ZEO Cluster • Maintenance si xfeet up. com/d w08 6
  • What Hardware? si xfeet up. com/d w08 7
  • Deployment Platforms si xfeet up. com/d w08 8
  • Caching si xfeet up. com/d w08 9
  • Types of Cache si xfeet up. com/d w08 10
  • 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
  • CacheFu si xfeet up. com/d w08 12
  • CacheFu Rules si xfeet up. com/d w08 13
  • 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
  • Firebug si xfeet up. com/d w08 15
  • RAM Caching si xfeet up. com/d w08 16
  • URL rewriting si xfeet up. com/d w08 17
  • Nginx Your site. Delivered. si xfeet up. com/d w08 18
  • Apache si xfeet up. com/d w08 19
  • 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
  • Load Balancing si xfeet up. com/d w08 21
  • Pound si xfeet up. com/d w08 22
  • 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
  • Putting it Together si xfeet up. com/d w08 24
  • 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
  • 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
  • Other Considerations • Robots.txt • Repozo Scripts • ZODB Packing • Log Rotation si xfeet up. com/d w08 27
  • 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
  • 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