Download - Cross Training For Your Plone Deployment
![Page 1: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/1.jpg)
open sourcenowhere to go but
sixfeetup.com/dw08
Cross Training for Your Plone Deployment
Plone Conference 2008Andrew Parker
1
![Page 2: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/2.jpg)
sixfeetup.com/dw08
NOT my brothers
2
![Page 3: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/3.jpg)
sixfeetup.com/dw08sixfeetup.com/dw08
Overview
3
![Page 4: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/4.jpg)
sixfeetup.com/dw08
A Talk on Deployment?
sixfeetup.com/dw08
4
![Page 5: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/5.jpg)
sixfeetup.com/dw08
Now What?• Anonymous Users:
Requests:Page Views:
• Authenticated Users:Requests: Page Views:
95.4 requests/sec6.9 views/sec
28.6 requests/sec2.4 views/sec
5
![Page 6: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/6.jpg)
sixfeetup.com/dw08
Parts of a Deployment
sixfeetup.com/dw08
• Hardware / OS
• Caching
• HTTP Server
• ZEO Cluster
• Maintenance
6
![Page 7: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/7.jpg)
sixfeetup.com/dw08
What Hardware?
sixfeetup.com/dw08
7
![Page 8: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/8.jpg)
sixfeetup.com/dw08
Deployment Platforms
8
![Page 9: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/9.jpg)
sixfeetup.com/dw08sixfeetup.com/dw08
Caching
9
![Page 10: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/10.jpg)
sixfeetup.com/dw08
Types of Cache
sixfeetup.com/dw08
10
![Page 11: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/11.jpg)
sixfeetup.com/dw08
Squid
• Configure accelerated domains
• Setup ACLs to allow purges from Zope
• Set memory and disk cache sizes
• Check refresh pattern
11
![Page 12: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/12.jpg)
sixfeetup.com/dw08
CacheFu
12
![Page 13: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/13.jpg)
sixfeetup.com/dw08
CacheFu Rules
13
![Page 14: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/14.jpg)
sixfeetup.com/dw08
Browser Headers• Conditional GET Requests
• Last-Modified
• If-Modified-Since
• Expires
• Cache-Control
• max-age
• E-Tags
• If-None-Matchsixfeetup.com/dw08
14
![Page 15: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/15.jpg)
sixfeetup.com/dw08
Firebug
sixfeetup.com/dw08
15
![Page 16: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/16.jpg)
sixfeetup.com/dw08
RAM Caching
16
![Page 17: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/17.jpg)
sixfeetup.com/dw08
URL rewriting
sixfeetup.com/dw08
17
![Page 18: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/18.jpg)
sixfeetup.com/dw08
Nginx
Your site.Delivered.
18
![Page 19: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/19.jpg)
sixfeetup.com/dw08
Apache
19
![Page 20: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/20.jpg)
sixfeetup.com/dw08
Squid Results• Anonymous Users:
Requests:Page Views:
• Authenticated Users:Requests: Page Views:
437.9 requests/sec31.8 views/sec
52.6 requests/sec4.1 views/sec
20
![Page 21: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/21.jpg)
sixfeetup.com/dw08sixfeetup.com/dw08
Load Balancing
21
![Page 22: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/22.jpg)
sixfeetup.com/dw08
Pound
22
![Page 23: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/23.jpg)
sixfeetup.com/dw08
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
23
![Page 24: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/24.jpg)
sixfeetup.com/dw08sixfeetup.com/dw08sixfeetup.com/dw08
Putting it Together
24
![Page 25: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/25.jpg)
sixfeetup.com/dw08
zrpczrpc zrpc
HTTP HTTP HTTP
Zope Storage Server (ZSS)
Pound
HTTP
HTTP PURGE
Squid
Zope ZopeZope
PlonePlone Plone
Internet
HTTP Request
Nginx
HTTP
25
![Page 26: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/26.jpg)
sixfeetup.com/dw08
Squid + Pound Results• Anonymous Users:
Requests:Page Views:
• Authenticated Users:Requests: Page Views:
489.2 requests/sec35.8 views/sec
98.9 requests/sec7.3 views/sec
26
![Page 27: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/27.jpg)
sixfeetup.com/dw08
Other Considerations• Robots.txt
• Repozo Scripts
• ZODB Packing
• Log Rotation
sixfeetup.com/dw08
27
![Page 28: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/28.jpg)
sixfeetup.com/dw08
Photo Credits• http://www.flickr.com/photos/celestemarie/
2193327230
• http://flickr.com/photos/hisgett/1241275229/
• http://flickr.com/photos/matt-davis/2276357580/
28
![Page 29: Cross Training For Your Plone Deployment](https://reader036.vdocument.in/reader036/viewer/2022081401/558cddebd8b42a1b5a8b459b/html5/thumbnails/29.jpg)
sixfeetup.com/dw08
Plone Deployment Workshop
Register by October 17and save $100!
sixfeetup.com/dw08
29