SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
Enterprise Plone:
(Rather) Complex Infrastructures
  October 11, 2007, Plone Conference, Napoli
                Duco Dokter



  dokter@goldmund-wyldebeast-wunderliebe.com

                                               1
Contents



• Existential affairs;

• High Availability;

• More existentialism;

• Single Sign-On;

• Load-balancing;

• Caching... GOTO [other talks].


Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   2
A not so complex setup




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   3
You wanted it more fancy?




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   4
The enterprise market



• Usually highly demanding in terms of availability;

• not necessarily because they actually need it though...;

• mission critical applications;

• complex existing infrastructure;

• lots of (web)services, legacy.



Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   5
What is High Availability?


The myth of the (five) nine’s (99.999)
Your system is delivering its service to the user 99.999% of the time it is
needed. (Myth: so the downtime of your actual ‘service’ is negligable...)

Does anyone know how much time that leaves for breakdowns?




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007          6
About this much


  uptime           downtime/yr               downtime/mnth         downtime/wk
  99.99%               52.6 min                     4.32 min           1.01 min
  99.999%              5.26 min                      25.9 sec           6.05 sec
So one broken disk in your data center:

•   that takes 5 minutes to replace: 1 year used;
•   sadly the data center is ten minutes away by bike: three years worth;
•   and you have no spare disk and need to go to the shop first: 12 years gone;
•   ... but the shop needs to order that at Fujitsu...




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007                   7
How?



• assert risk for components, both hardware and software;

• remove ’single-point-of-failure’ spots, id;

• calculate possibility of system failure;

• avoid complexity!




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   8
HA Cluster setup



• throw in more machines;

• throw in more Zope instances (servers);

• use heartbeat;

floating IP, and other services can be transported across nodes connect over
two interfaces: i.e. serial and ethernet

Syncing: drbd, syncpozo, zeoraid, fs solutions


Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007          9
New setup, as HA cluster




Do we still have a problem? Yep: no global redundancy

Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   10
Why leave your slave whithering away? Adding LB and
                        ZEO.




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   11
And what about caching?




Are we happy yet?

Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   12
Single Sign-On


Single Sign-On is:

• authentication process where a user presents credentials once and gets
  authenticated for more than one application;

• a ‘meta’ session is created.

Web SSO: the same story, but only for web applications




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007      13
Why Single Sign-On?



• user experience;

• less user separate user accounts;

• focal point in security administration.




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   14
How?



• One trusted source;

• a trust relationship between the source and ‘clients’;

• a trusted & clear protocol for authentication.




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   15
Plone SSO



• More plone sites within same user session;

• Plone as front-end for other apps;

• other (non-Plone) web apps in same session;

• non-web apps in same session;

• Plone login based on machine login (not in scope, but think NTLM).



Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007       16
CAS



• SSO server built at Yale university;

• Java Servlet/JSP technology;

• (reasonably) well documented;

• source code available;

• free licence;

• open and clear protocol.


Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   17
Plone & CAS


Prerequisites:

• CAS4PAS;

• PlonePAS.

Optional: PloneCASLogin




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   18
Steps: Session 1



1. http request to Plone site A;
2. inlog link kiezen naar CAS server of authenticatie redirect (CAS4PAS) over HTTPS;
3. login on CAS server;
4. CAS sets cookie;
5. redirect back to callback service with ticket;
6. validation ticket to CAS server;
7. CAS server removes ticket and gives ’ok’ + netID;
8. response (with Plone cookie).




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007                       19
Why the validate step?


Because of redirect to service: might not be secured.

So: a token is given, and Plone uses this to actually validate. CAS generates
this token, and receives it to give back the user id.




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007           20
Steps: Session 2



1. http request to Plone site B;
2. click on login link to CAS server or receive authenticatie redirect (CAS4PAS);
3. CAS service recognizes existing session (based on cookie);
4. redirect back to service with new ticket;
5. validation with ticket;
6. CAS removes ticket, and says ’ok’ + Net ID;
7. response.




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007                    21
Architectuur




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   22
Back end



• LDAP

• SQL

... but fully pluggable.




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   23
So...



• more Plone sites, 1 account;

• Plone site as front end for other sites;

• Mix of Plone and other web systems;

• Mix of Plone and non web systems.




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   24
The final result




What was that again on complexity?

Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   25
Issues



• Loosing sessions: sticky sessions?

• We haven’t really finished: monitoring.




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   26
Ceterum censeo MicroSoftem esse delendam




Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007   27

Weitere ähnliche Inhalte

Ähnlich wie Duco Dokter - Plone for the enterprise market: technical musing on caching, Clustering and Single Sign-On

Inside the Atlassian OnDemand Private Cloud
Inside the Atlassian OnDemand Private CloudInside the Atlassian OnDemand Private Cloud
Inside the Atlassian OnDemand Private CloudAtlassian
 
Improving Operational Space Responsiveness
Improving Operational Space ResponsivenessImproving Operational Space Responsiveness
Improving Operational Space ResponsivenessPat Cappelaere
 
20051114: WAYFs And Discovery
20051114: WAYFs And Discovery20051114: WAYFs And Discovery
20051114: WAYFs And Discoveryiay
 
Vdi And Storage Deep Impact V1 0
Vdi And Storage   Deep Impact V1 0Vdi And Storage   Deep Impact V1 0
Vdi And Storage Deep Impact V1 0Zernike College
 
Scalable Web Architectures: Common Patterns and Approaches
Scalable Web Architectures: Common Patterns and ApproachesScalable Web Architectures: Common Patterns and Approaches
Scalable Web Architectures: Common Patterns and Approachesadunne
 
Scaling a Rails Application from the Bottom Up
Scaling a Rails Application from the Bottom Up Scaling a Rails Application from the Bottom Up
Scaling a Rails Application from the Bottom Up Abhishek Singh
 
Mark Minasi Introducing Windows 7
Mark Minasi   Introducing Windows 7Mark Minasi   Introducing Windows 7
Mark Minasi Introducing Windows 7Nathan Winters
 
What Your CDN Won't Tell You: Optimizing a News Website for Speed and Stability
What Your CDN Won't Tell You: Optimizing a News Website for Speed and StabilityWhat Your CDN Won't Tell You: Optimizing a News Website for Speed and Stability
What Your CDN Won't Tell You: Optimizing a News Website for Speed and StabilityJulian Dunn
 
Ocz presentation october 2010 final
Ocz presentation october 2010 finalOcz presentation october 2010 final
Ocz presentation october 2010 finalAholdsworth
 
Geobliki: A Platform For Emergency Response
Geobliki: A Platform For Emergency ResponseGeobliki: A Platform For Emergency Response
Geobliki: A Platform For Emergency ResponsePat Cappelaere
 
Using Alluxio as a Fault Tolerant Pluggable Optimization Component to Compute...
Using Alluxio as a Fault Tolerant Pluggable Optimization Component to Compute...Using Alluxio as a Fault Tolerant Pluggable Optimization Component to Compute...
Using Alluxio as a Fault Tolerant Pluggable Optimization Component to Compute...Alluxio, Inc.
 
Atomicity for transactions involving foreign server in PostgreSQL
Atomicity for transactions involving foreign server in PostgreSQLAtomicity for transactions involving foreign server in PostgreSQL
Atomicity for transactions involving foreign server in PostgreSQLAshutosh Bapat
 
eFolder Webinar — Big News: Get Ready for Next-Gen BDR
eFolder Webinar — Big News: Get Ready for Next-Gen BDReFolder Webinar — Big News: Get Ready for Next-Gen BDR
eFolder Webinar — Big News: Get Ready for Next-Gen BDReFolder
 
OpenNebula - FlossUK 2013
OpenNebula - FlossUK 2013OpenNebula - FlossUK 2013
OpenNebula - FlossUK 2013NETWAYS
 
Docker: Light and Dark
Docker: Light and DarkDocker: Light and Dark
Docker: Light and DarkTori Wieldt
 
Using Puppet - Real World Configuration Management
Using Puppet - Real World Configuration ManagementUsing Puppet - Real World Configuration Management
Using Puppet - Real World Configuration ManagementJames Turnbull
 
Reliability Of Solid State Drives 2008
Reliability Of Solid State Drives 2008Reliability Of Solid State Drives 2008
Reliability Of Solid State Drives 2008Andrei Khurshudov
 
Hadoop Analytics on Isilon Deep Dive
Hadoop Analytics on Isilon Deep DiveHadoop Analytics on Isilon Deep Dive
Hadoop Analytics on Isilon Deep DiveClaudioFahey1
 

Ähnlich wie Duco Dokter - Plone for the enterprise market: technical musing on caching, Clustering and Single Sign-On (20)

Inside the Atlassian OnDemand Private Cloud
Inside the Atlassian OnDemand Private CloudInside the Atlassian OnDemand Private Cloud
Inside the Atlassian OnDemand Private Cloud
 
Improving Operational Space Responsiveness
Improving Operational Space ResponsivenessImproving Operational Space Responsiveness
Improving Operational Space Responsiveness
 
Symfony for non-techies
Symfony for non-techiesSymfony for non-techies
Symfony for non-techies
 
20051114: WAYFs And Discovery
20051114: WAYFs And Discovery20051114: WAYFs And Discovery
20051114: WAYFs And Discovery
 
Vdi And Storage Deep Impact V1 0
Vdi And Storage   Deep Impact V1 0Vdi And Storage   Deep Impact V1 0
Vdi And Storage Deep Impact V1 0
 
Overview Rozo Systems
Overview Rozo SystemsOverview Rozo Systems
Overview Rozo Systems
 
Scalable Web Architectures: Common Patterns and Approaches
Scalable Web Architectures: Common Patterns and ApproachesScalable Web Architectures: Common Patterns and Approaches
Scalable Web Architectures: Common Patterns and Approaches
 
Scaling a Rails Application from the Bottom Up
Scaling a Rails Application from the Bottom Up Scaling a Rails Application from the Bottom Up
Scaling a Rails Application from the Bottom Up
 
Mark Minasi Introducing Windows 7
Mark Minasi   Introducing Windows 7Mark Minasi   Introducing Windows 7
Mark Minasi Introducing Windows 7
 
What Your CDN Won't Tell You: Optimizing a News Website for Speed and Stability
What Your CDN Won't Tell You: Optimizing a News Website for Speed and StabilityWhat Your CDN Won't Tell You: Optimizing a News Website for Speed and Stability
What Your CDN Won't Tell You: Optimizing a News Website for Speed and Stability
 
Ocz presentation october 2010 final
Ocz presentation october 2010 finalOcz presentation october 2010 final
Ocz presentation october 2010 final
 
Geobliki: A Platform For Emergency Response
Geobliki: A Platform For Emergency ResponseGeobliki: A Platform For Emergency Response
Geobliki: A Platform For Emergency Response
 
Using Alluxio as a Fault Tolerant Pluggable Optimization Component to Compute...
Using Alluxio as a Fault Tolerant Pluggable Optimization Component to Compute...Using Alluxio as a Fault Tolerant Pluggable Optimization Component to Compute...
Using Alluxio as a Fault Tolerant Pluggable Optimization Component to Compute...
 
Atomicity for transactions involving foreign server in PostgreSQL
Atomicity for transactions involving foreign server in PostgreSQLAtomicity for transactions involving foreign server in PostgreSQL
Atomicity for transactions involving foreign server in PostgreSQL
 
eFolder Webinar — Big News: Get Ready for Next-Gen BDR
eFolder Webinar — Big News: Get Ready for Next-Gen BDReFolder Webinar — Big News: Get Ready for Next-Gen BDR
eFolder Webinar — Big News: Get Ready for Next-Gen BDR
 
OpenNebula - FlossUK 2013
OpenNebula - FlossUK 2013OpenNebula - FlossUK 2013
OpenNebula - FlossUK 2013
 
Docker: Light and Dark
Docker: Light and DarkDocker: Light and Dark
Docker: Light and Dark
 
Using Puppet - Real World Configuration Management
Using Puppet - Real World Configuration ManagementUsing Puppet - Real World Configuration Management
Using Puppet - Real World Configuration Management
 
Reliability Of Solid State Drives 2008
Reliability Of Solid State Drives 2008Reliability Of Solid State Drives 2008
Reliability Of Solid State Drives 2008
 
Hadoop Analytics on Isilon Deep Dive
Hadoop Analytics on Isilon Deep DiveHadoop Analytics on Isilon Deep Dive
Hadoop Analytics on Isilon Deep Dive
 

Mehr von Vincenzo Barone

Sally Kleinfeldt - Plone Application Development Patterns
Sally Kleinfeldt - Plone Application Development PatternsSally Kleinfeldt - Plone Application Development Patterns
Sally Kleinfeldt - Plone Application Development PatternsVincenzo Barone
 
Where's the source, Luke? : How to find and debug the code behind Plone
Where's the source, Luke? : How to find and debug the code behind PloneWhere's the source, Luke? : How to find and debug the code behind Plone
Where's the source, Luke? : How to find and debug the code behind PloneVincenzo Barone
 
ItalianSkin: an improvement in the accessibility of the Plone interface in or...
ItalianSkin: an improvement in the accessibility of the Plone interface in or...ItalianSkin: an improvement in the accessibility of the Plone interface in or...
ItalianSkin: an improvement in the accessibility of the Plone interface in or...Vincenzo Barone
 
How to market Plone the Web2.0 way
How to market Plone the Web2.0 wayHow to market Plone the Web2.0 way
How to market Plone the Web2.0 wayVincenzo Barone
 
Lennart Regebro What Zope Did Wrong (And What To Do Instead)
Lennart Regebro   What Zope Did Wrong (And What To Do Instead)Lennart Regebro   What Zope Did Wrong (And What To Do Instead)
Lennart Regebro What Zope Did Wrong (And What To Do Instead)Vincenzo Barone
 
Wichert Akkerman Plone Deployment Practices The Plone.Org Setup
Wichert Akkerman   Plone Deployment Practices   The Plone.Org SetupWichert Akkerman   Plone Deployment Practices   The Plone.Org Setup
Wichert Akkerman Plone Deployment Practices The Plone.Org SetupVincenzo Barone
 
Philipp Von Weitershausen Untested Code Is Broken Code
Philipp Von Weitershausen   Untested Code Is Broken CodePhilipp Von Weitershausen   Untested Code Is Broken Code
Philipp Von Weitershausen Untested Code Is Broken CodeVincenzo Barone
 
Rocky Burt Subtyping Unleashed
Rocky Burt   Subtyping UnleashedRocky Burt   Subtyping Unleashed
Rocky Burt Subtyping UnleashedVincenzo Barone
 
Alec Mitchell Relationship Building Defining And Querying Complex Relatio...
Alec Mitchell   Relationship Building   Defining And Querying Complex Relatio...Alec Mitchell   Relationship Building   Defining And Querying Complex Relatio...
Alec Mitchell Relationship Building Defining And Querying Complex Relatio...Vincenzo Barone
 
Wageindicator Foundation: a Case Study
Wageindicator Foundation: a Case StudyWageindicator Foundation: a Case Study
Wageindicator Foundation: a Case StudyVincenzo Barone
 
Tom Lazar Using Zope3 Views And Viewlets For Plone 3.0 Product Development
Tom Lazar   Using Zope3 Views And Viewlets For Plone 3.0 Product DevelopmentTom Lazar   Using Zope3 Views And Viewlets For Plone 3.0 Product Development
Tom Lazar Using Zope3 Views And Viewlets For Plone 3.0 Product DevelopmentVincenzo Barone
 
Xavier Heymans Plone Gov Plone In The Public Sector. Panel Presenting The...
Xavier Heymans   Plone Gov   Plone In The Public Sector. Panel Presenting The...Xavier Heymans   Plone Gov   Plone In The Public Sector. Panel Presenting The...
Xavier Heymans Plone Gov Plone In The Public Sector. Panel Presenting The...Vincenzo Barone
 
Brent Lambert Plone In Education A Case Study Of The Use Of Plone And Educa...
Brent Lambert   Plone In Education A Case Study Of The Use Of Plone And Educa...Brent Lambert   Plone In Education A Case Study Of The Use Of Plone And Educa...
Brent Lambert Plone In Education A Case Study Of The Use Of Plone And Educa...Vincenzo Barone
 
Wichert Akkerman - Plone.Org Infrastructure
Wichert Akkerman - Plone.Org InfrastructureWichert Akkerman - Plone.Org Infrastructure
Wichert Akkerman - Plone.Org InfrastructureVincenzo Barone
 
Philipp Von Weitershausen Plone Age Mammoths, Sabers And Caveen Cant The...
Philipp Von Weitershausen   Plone Age  Mammoths, Sabers And Caveen   Cant The...Philipp Von Weitershausen   Plone Age  Mammoths, Sabers And Caveen   Cant The...
Philipp Von Weitershausen Plone Age Mammoths, Sabers And Caveen Cant The...Vincenzo Barone
 
Denis Mishunov Making Plone Theme 10 Most Wanted Tips
Denis Mishunov   Making Plone Theme   10 Most Wanted Tips Denis Mishunov   Making Plone Theme   10 Most Wanted Tips
Denis Mishunov Making Plone Theme 10 Most Wanted Tips Vincenzo Barone
 
Duncan Booth Kupu, Past Present And Future
Duncan Booth   Kupu, Past Present And FutureDuncan Booth   Kupu, Past Present And Future
Duncan Booth Kupu, Past Present And FutureVincenzo Barone
 
Jeroen Vloothuis Bend Kss To Your Will
Jeroen Vloothuis   Bend Kss To Your WillJeroen Vloothuis   Bend Kss To Your Will
Jeroen Vloothuis Bend Kss To Your WillVincenzo Barone
 
Jared Whitlock Open Source In The Enterprise Plone @ Novell
Jared Whitlock   Open Source In The Enterprise    Plone @ NovellJared Whitlock   Open Source In The Enterprise    Plone @ Novell
Jared Whitlock Open Source In The Enterprise Plone @ NovellVincenzo Barone
 
Paul Everitt Community And Foundation Plones Past, Present, Future
Paul Everitt   Community And Foundation   Plones Past, Present, Future Paul Everitt   Community And Foundation   Plones Past, Present, Future
Paul Everitt Community And Foundation Plones Past, Present, Future Vincenzo Barone
 

Mehr von Vincenzo Barone (20)

Sally Kleinfeldt - Plone Application Development Patterns
Sally Kleinfeldt - Plone Application Development PatternsSally Kleinfeldt - Plone Application Development Patterns
Sally Kleinfeldt - Plone Application Development Patterns
 
Where's the source, Luke? : How to find and debug the code behind Plone
Where's the source, Luke? : How to find and debug the code behind PloneWhere's the source, Luke? : How to find and debug the code behind Plone
Where's the source, Luke? : How to find and debug the code behind Plone
 
ItalianSkin: an improvement in the accessibility of the Plone interface in or...
ItalianSkin: an improvement in the accessibility of the Plone interface in or...ItalianSkin: an improvement in the accessibility of the Plone interface in or...
ItalianSkin: an improvement in the accessibility of the Plone interface in or...
 
How to market Plone the Web2.0 way
How to market Plone the Web2.0 wayHow to market Plone the Web2.0 way
How to market Plone the Web2.0 way
 
Lennart Regebro What Zope Did Wrong (And What To Do Instead)
Lennart Regebro   What Zope Did Wrong (And What To Do Instead)Lennart Regebro   What Zope Did Wrong (And What To Do Instead)
Lennart Regebro What Zope Did Wrong (And What To Do Instead)
 
Wichert Akkerman Plone Deployment Practices The Plone.Org Setup
Wichert Akkerman   Plone Deployment Practices   The Plone.Org SetupWichert Akkerman   Plone Deployment Practices   The Plone.Org Setup
Wichert Akkerman Plone Deployment Practices The Plone.Org Setup
 
Philipp Von Weitershausen Untested Code Is Broken Code
Philipp Von Weitershausen   Untested Code Is Broken CodePhilipp Von Weitershausen   Untested Code Is Broken Code
Philipp Von Weitershausen Untested Code Is Broken Code
 
Rocky Burt Subtyping Unleashed
Rocky Burt   Subtyping UnleashedRocky Burt   Subtyping Unleashed
Rocky Burt Subtyping Unleashed
 
Alec Mitchell Relationship Building Defining And Querying Complex Relatio...
Alec Mitchell   Relationship Building   Defining And Querying Complex Relatio...Alec Mitchell   Relationship Building   Defining And Querying Complex Relatio...
Alec Mitchell Relationship Building Defining And Querying Complex Relatio...
 
Wageindicator Foundation: a Case Study
Wageindicator Foundation: a Case StudyWageindicator Foundation: a Case Study
Wageindicator Foundation: a Case Study
 
Tom Lazar Using Zope3 Views And Viewlets For Plone 3.0 Product Development
Tom Lazar   Using Zope3 Views And Viewlets For Plone 3.0 Product DevelopmentTom Lazar   Using Zope3 Views And Viewlets For Plone 3.0 Product Development
Tom Lazar Using Zope3 Views And Viewlets For Plone 3.0 Product Development
 
Xavier Heymans Plone Gov Plone In The Public Sector. Panel Presenting The...
Xavier Heymans   Plone Gov   Plone In The Public Sector. Panel Presenting The...Xavier Heymans   Plone Gov   Plone In The Public Sector. Panel Presenting The...
Xavier Heymans Plone Gov Plone In The Public Sector. Panel Presenting The...
 
Brent Lambert Plone In Education A Case Study Of The Use Of Plone And Educa...
Brent Lambert   Plone In Education A Case Study Of The Use Of Plone And Educa...Brent Lambert   Plone In Education A Case Study Of The Use Of Plone And Educa...
Brent Lambert Plone In Education A Case Study Of The Use Of Plone And Educa...
 
Wichert Akkerman - Plone.Org Infrastructure
Wichert Akkerman - Plone.Org InfrastructureWichert Akkerman - Plone.Org Infrastructure
Wichert Akkerman - Plone.Org Infrastructure
 
Philipp Von Weitershausen Plone Age Mammoths, Sabers And Caveen Cant The...
Philipp Von Weitershausen   Plone Age  Mammoths, Sabers And Caveen   Cant The...Philipp Von Weitershausen   Plone Age  Mammoths, Sabers And Caveen   Cant The...
Philipp Von Weitershausen Plone Age Mammoths, Sabers And Caveen Cant The...
 
Denis Mishunov Making Plone Theme 10 Most Wanted Tips
Denis Mishunov   Making Plone Theme   10 Most Wanted Tips Denis Mishunov   Making Plone Theme   10 Most Wanted Tips
Denis Mishunov Making Plone Theme 10 Most Wanted Tips
 
Duncan Booth Kupu, Past Present And Future
Duncan Booth   Kupu, Past Present And FutureDuncan Booth   Kupu, Past Present And Future
Duncan Booth Kupu, Past Present And Future
 
Jeroen Vloothuis Bend Kss To Your Will
Jeroen Vloothuis   Bend Kss To Your WillJeroen Vloothuis   Bend Kss To Your Will
Jeroen Vloothuis Bend Kss To Your Will
 
Jared Whitlock Open Source In The Enterprise Plone @ Novell
Jared Whitlock   Open Source In The Enterprise    Plone @ NovellJared Whitlock   Open Source In The Enterprise    Plone @ Novell
Jared Whitlock Open Source In The Enterprise Plone @ Novell
 
Paul Everitt Community And Foundation Plones Past, Present, Future
Paul Everitt   Community And Foundation   Plones Past, Present, Future Paul Everitt   Community And Foundation   Plones Past, Present, Future
Paul Everitt Community And Foundation Plones Past, Present, Future
 

Kürzlich hochgeladen

7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...Paul Menig
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfPaul Menig
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdfRenandantas16
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
Unlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfUnlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfOnline Income Engine
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Servicediscovermytutordmt
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsMichael W. Hawkins
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayNZSG
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLSeo
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒anilsa9823
 

Kürzlich hochgeladen (20)

7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...7.pdf This presentation captures many uses and the significance of the number...
7.pdf This presentation captures many uses and the significance of the number...
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Grateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdfGrateful 7 speech thanking everyone that has helped.pdf
Grateful 7 speech thanking everyone that has helped.pdf
 
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf0183760ssssssssssssssssssssssssssss00101011 (27).pdf
0183760ssssssssssssssssssssssssssss00101011 (27).pdf
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
Unlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdfUnlocking the Secrets of Affiliate Marketing.pdf
Unlocking the Secrets of Affiliate Marketing.pdf
 
Call Girls in Gomti Nagar - 7388211116 - With room Service
Call Girls in Gomti Nagar - 7388211116  - With room ServiceCall Girls in Gomti Nagar - 7388211116  - With room Service
Call Girls in Gomti Nagar - 7388211116 - With room Service
 
HONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael HawkinsHONOR Veterans Event Keynote by Michael Hawkins
HONOR Veterans Event Keynote by Michael Hawkins
 
It will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 MayIt will be International Nurses' Day on 12 May
It will be International Nurses' Day on 12 May
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒VIP Call Girls In Saharaganj ( Lucknow  ) 🔝 8923113531 🔝  Cash Payment (COD) 👒
VIP Call Girls In Saharaganj ( Lucknow ) 🔝 8923113531 🔝 Cash Payment (COD) 👒
 

Duco Dokter - Plone for the enterprise market: technical musing on caching, Clustering and Single Sign-On

  • 1. Enterprise Plone: (Rather) Complex Infrastructures October 11, 2007, Plone Conference, Napoli Duco Dokter dokter@goldmund-wyldebeast-wunderliebe.com 1
  • 2. Contents • Existential affairs; • High Availability; • More existentialism; • Single Sign-On; • Load-balancing; • Caching... GOTO [other talks]. Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 2
  • 3. A not so complex setup Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 3
  • 4. You wanted it more fancy? Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 4
  • 5. The enterprise market • Usually highly demanding in terms of availability; • not necessarily because they actually need it though...; • mission critical applications; • complex existing infrastructure; • lots of (web)services, legacy. Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 5
  • 6. What is High Availability? The myth of the (five) nine’s (99.999) Your system is delivering its service to the user 99.999% of the time it is needed. (Myth: so the downtime of your actual ‘service’ is negligable...) Does anyone know how much time that leaves for breakdowns? Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 6
  • 7. About this much uptime downtime/yr downtime/mnth downtime/wk 99.99% 52.6 min 4.32 min 1.01 min 99.999% 5.26 min 25.9 sec 6.05 sec So one broken disk in your data center: • that takes 5 minutes to replace: 1 year used; • sadly the data center is ten minutes away by bike: three years worth; • and you have no spare disk and need to go to the shop first: 12 years gone; • ... but the shop needs to order that at Fujitsu... Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 7
  • 8. How? • assert risk for components, both hardware and software; • remove ’single-point-of-failure’ spots, id; • calculate possibility of system failure; • avoid complexity! Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 8
  • 9. HA Cluster setup • throw in more machines; • throw in more Zope instances (servers); • use heartbeat; floating IP, and other services can be transported across nodes connect over two interfaces: i.e. serial and ethernet Syncing: drbd, syncpozo, zeoraid, fs solutions Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 9
  • 10. New setup, as HA cluster Do we still have a problem? Yep: no global redundancy Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 10
  • 11. Why leave your slave whithering away? Adding LB and ZEO. Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 11
  • 12. And what about caching? Are we happy yet? Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 12
  • 13. Single Sign-On Single Sign-On is: • authentication process where a user presents credentials once and gets authenticated for more than one application; • a ‘meta’ session is created. Web SSO: the same story, but only for web applications Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 13
  • 14. Why Single Sign-On? • user experience; • less user separate user accounts; • focal point in security administration. Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 14
  • 15. How? • One trusted source; • a trust relationship between the source and ‘clients’; • a trusted & clear protocol for authentication. Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 15
  • 16. Plone SSO • More plone sites within same user session; • Plone as front-end for other apps; • other (non-Plone) web apps in same session; • non-web apps in same session; • Plone login based on machine login (not in scope, but think NTLM). Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 16
  • 17. CAS • SSO server built at Yale university; • Java Servlet/JSP technology; • (reasonably) well documented; • source code available; • free licence; • open and clear protocol. Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 17
  • 18. Plone & CAS Prerequisites: • CAS4PAS; • PlonePAS. Optional: PloneCASLogin Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 18
  • 19. Steps: Session 1 1. http request to Plone site A; 2. inlog link kiezen naar CAS server of authenticatie redirect (CAS4PAS) over HTTPS; 3. login on CAS server; 4. CAS sets cookie; 5. redirect back to callback service with ticket; 6. validation ticket to CAS server; 7. CAS server removes ticket and gives ’ok’ + netID; 8. response (with Plone cookie). Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 19
  • 20. Why the validate step? Because of redirect to service: might not be secured. So: a token is given, and Plone uses this to actually validate. CAS generates this token, and receives it to give back the user id. Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 20
  • 21. Steps: Session 2 1. http request to Plone site B; 2. click on login link to CAS server or receive authenticatie redirect (CAS4PAS); 3. CAS service recognizes existing session (based on cookie); 4. redirect back to service with new ticket; 5. validation with ticket; 6. CAS removes ticket, and says ’ok’ + Net ID; 7. response. Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 21
  • 22. Architectuur Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 22
  • 23. Back end • LDAP • SQL ... but fully pluggable. Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 23
  • 24. So... • more Plone sites, 1 account; • Plone site as front end for other sites; • Mix of Plone and other web systems; • Mix of Plone and non web systems. Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 24
  • 25. The final result What was that again on complexity? Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 25
  • 26. Issues • Loosing sessions: sticky sessions? • We haven’t really finished: monitoring. Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 26
  • 27. Ceterum censeo MicroSoftem esse delendam Duco Dokter, Goldmund, Wyldebeast & Wunderliebe, 11 october 2007 27