Your SlideShare is downloading. ×
0
Plone Deployment
     Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009

                                    ...
Introduction
             • Different scenarios
                   – Different page types
                   – Page compos...
Zope

• Is the application server
• It does the low level
  management
• It is completely
  integrated



     Plone Confe...
Vanilla Plone + Apache

 Internet
              • “Classic”
              • Practical (ports,
                statistics, ...
Vanilla Plone + Apache

• Yes, if                   • No, if
  – Few, well                     – Multicore server
    dist...
Plone + Varnish + Apache

  Internet
                     • Reduced response
                       time
                 ...
Plone + Varnish + Apache

• Yes, if                       • No, if
  – Stable contents                   – Multicore serve...
Architecture on multicore server

     Internet




   Webserver



   Cache Sys



  Load Balancer




                  ...
Architecture on multicore server

• Yes, if                      • Maybe not if
  – Multicore (>2)                   – Var...
Distributed Architecture


      Internet
                 s2


     Webserver



     Cache Sys   s3



 Load Balancer


...
Distributed Architecture: pros

• Dynamic System
  – Only the necessary servers are turned on
• Fault tollerance
  – Zope/...
With Relstorage


      Internet
                    s2


     Webserver
                                                 ...
Relstorage: pros

DBMS Support:
- Backup and restore
- Redundancy and fault tolerance
- Authenticated access to the DB dat...
Distributed Architecture: when?




          Always
            if possible.




            Plone Conference 2009 – Fede...
Plone in the Cloud

• Amazon Web Services (AWS)
  – EC2: Elastic Cloud Computing
  – S3: Simple Storage Service


in pract...
Plone on Cloud II

• Immediate startup
  – To start working with EC2 (<15 min)
  – To start a new server (<1 min)
• Comple...
Plone on Cloud III

Back to Plone again:
  It’s possible then to activate or turn off an
    arbitrary number of instances...
Case1: Logcluster
              • www.logcluster.org
              • 3 Zope/Plone + ZEO
              • Daily updates
    ...
Case2: EOL

                              • www.eol.ucar.edu
                              • 5 Zope/Plone + ZEO
          ...
Questions?

Data on performances and different
     setups available on request


 federico.guizzardi@reflab.com




      ...
Upcoming SlideShare
Loading in...5
×

Plone Deployment WPD2009

1,160

Published on

Presentation of the different deployments of Plone in different conditions and the ability of Plone to scale. From classic deployment to multiserver with Relstorage. Deployment on cloud also featured. Please feel free to use the diagrams or to ask the source code of the slides. Presentation made at the World Plone Day 2009 by Federico Guizzardi, system administration manager in Reflab.

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

No Downloads
Views
Total Views
1,160
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
23
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide

Transcript of "Plone Deployment WPD2009"

  1. 1. Plone Deployment Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 1
  2. 2. Introduction • Different scenarios – Different page types – Page composition • Hard to estimate – Many variables: hardware, bandwidth, ... – Multiple benchmarks Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 2
  3. 3. Zope • Is the application server • It does the low level management • It is completely integrated Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 3
  4. 4. Vanilla Plone + Apache Internet • “Classic” • Practical (ports, statistics, etc.) Webserver • Configuration – Virtualhost – Advanced solutions – etc. Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 4
  5. 5. Vanilla Plone + Apache • Yes, if • No, if – Few, well – Multicore server distributed – Stable contents contents – Hi concurrency – Limited users levels – For development Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 5
  6. 6. Plone + Varnish + Apache Internet • Reduced response time • More user load Webserver • Lower machine Cache Sys load Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 6
  7. 7. Plone + Varnish + Apache • Yes, if • No, if – Stable contents – Multicore server – Limited server – Development resources – High number of – ... in general the users suggested – High number of deployment editors Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 7
  8. 8. Architecture on multicore server Internet Webserver Cache Sys Load Balancer Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 8
  9. 9. Architecture on multicore server • Yes, if • Maybe not if – Multicore (>2) – Variable user load – Hi number of users – Pages composed by a high number of sources Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 9
  10. 10. Distributed Architecture Internet s2 Webserver Cache Sys s3 Load Balancer s1 s4 s5 Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 10
  11. 11. Distributed Architecture: pros • Dynamic System – Only the necessary servers are turned on • Fault tollerance – Zope/Plone servers are redundant – ZEO can be “distributed” • Maintenance similar to that of a single instance – Backup, updates... Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 11
  12. 12. With Relstorage Internet s2 Webserver Oracle / Postgres s3 Cache Sys Load Balancer s1 s4 Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 12
  13. 13. Relstorage: pros DBMS Support: - Backup and restore - Redundancy and fault tolerance - Authenticated access to the DB data - Tools of the chosen DBMS - Speed improvements* Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 13
  14. 14. Distributed Architecture: when? Always if possible. Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 14
  15. 15. Plone in the Cloud • Amazon Web Services (AWS) – EC2: Elastic Cloud Computing – S3: Simple Storage Service in practice: a solution for hosting based on virtual servers (XEN) following the principle: "pay only for what you use, as you use it”. Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 15
  16. 16. Plone on Cloud II • Immediate startup – To start working with EC2 (<15 min) – To start a new server (<1 min) • Complete autonomy of management – Turn on a new server when needed – Turn off a server if not needed – Different machine options Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 16
  17. 17. Plone on Cloud III Back to Plone again: It’s possible then to activate or turn off an arbitrary number of instances cloning the same server, implementing a dynamic farm. In particular on AWS: •Elastic load balancing •Autoscaling Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 17
  18. 18. Case1: Logcluster • www.logcluster.org • 3 Zope/Plone + ZEO • Daily updates • 20k requests a day Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 18
  19. 19. Case2: EOL • www.eol.ucar.edu • 5 Zope/Plone + ZEO • 2k pages a day • 32k pages in the first month Thanks to Kelly Craig for the material for this case study. Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 19
  20. 20. Questions? Data on performances and different setups available on request federico.guizzardi@reflab.com Plone Conference 2009 – Federico C. Guizzardi – 21 Aprile 2009 20
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×