Zend Server – OSI DaysKevin SchroederTechnology EvangelistZend Technologies
About meKevin SchroederTechnology Evangelist for ZendProgrammerSys AdminAuthorIBM i Programmer’s Guide to PHPYou want to do WHAT with PHP? Coming upRace Ferraris on the weekendMy Honda has a dismal win record
I blog at eschrade.comFollow us!Zend Technologieshttp://twitter.com/zendhttp://twitter.com/kpschrade (me!)
A quick note on Zendcon… BE THERE!!Learn PHP best practices
Discover new advances
Gain new insights
Deploy and scale large PHP applications
Explore new technologies like NoSQL and Cloud Computing
Learn how to effectively leverage Zend Framework and Zend Framework 2.0Also, we’re doing a drawing for a copy of Zend Studio!I will be asking a question at the end, and the first person to get it will win a free copy of Zend Studio
What does Zend doZend FrameworkZend Studio (8.0 in public beta 1)Zend ServerMonitoring,Code tracing (freaking cool!!)Job queuingHA Session ClusteringZend Server Cluster ManagerLots and lots of trainingPHP, Zend Framework certifications
Zend Solutions: Increasing PHP Lifecycle MaturityZend Platform Enterprise SuiteZend ServerPlatinum SupportGold SupportDevelopTestDeployMaintainPeopleProcessProductsZend Developer SolutionZend Production Server SolutionZend StudioZend Platform Enterprise Suite(Dev License)Zend FrameworkCommunityZend Server (Dev License)Zend FrameworkEnterpriseSupportStandardSupportZend Guard
Zend FrameworkZend ServerPHPTestApplicationPerformanceReliability &ManagementScale-OutBusiness-gradePHPAccelerationMonitoringClusteringHot FixesOptimizationRoot-CauseJob QueueSupportProfileCachingDownloadsJava BridgeConfigurationZend Studio (Eclipse-based)DebugCollaborateLinux(rpm/web repositories)IBM i(PTF)Windows(MSI)8Zend Server
What is Zend Server?What it is notA fork of PHPA competitor of PHPWhat it is/hasFull PHP compatibility (it’s built from the same source code)SLA-based supportMany additional features
Zend Server EditionsTwo versionsZend Server CE – FREEZend Server – Available with several additional features| 10Name of this section
Supported EnvironmentsRed Hat/CentOSUbuntu/DebianSLES/Novell (new)WindowsIBM i
How does Zend Server fit?
Where do the features fit?
The primary reason to use Zend Server is insightWhat went wrong?Who did it happen to?But there are many useful features in Server 5
Monitoring
Why do we need diagnostic tools?
Let’s slow that down a bit
Fixing problems in a dev environment
Fixing problems in production environmentsLoggingMonitoring
Code Tracing
Code TracingReproducing an issue is not always possible...Dependency on specific SESSION state
Dependency on specific database state
“Replaying” the request is risky or impossibleZend Code Tracing can capture the entire execution flow...and, it is efficient enough to be used in most production environments!“Hindsight is always twenty-twenty.”- Billy Wilder
Job Queue
Job Queue – A Common Execution Flow
Why use the Job QueueVery easy to set upVery easy to use APIVery easy to scaleJob execution can be easily deployed as part of your application
Not good for queuingTypical anatomy of a PHP ApplicationPHP: Past and PresentPresentationApplication ControlDatabase AccessBusiness LogicPresentationApplication ControlBusiness LogicPresentation| 27
Anatomy of a Modern PHP ApplicationPHP: Past and PresentPresentationSomething.phtmlSomething.phtmlSomething.phtmlSomething.phtmlSomething.phtmlSomething.phtmlSomething.phtmlSomething.phtmlApplication ControlSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpBusiness LogicSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpDatabase AccessSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.php| 28Much better for queuing
A useful practice:Create a generic handlerPass objects to be executed to that handler
Session Clustering
Architectural Overview31the Simple Cloud API Initiative
Failure Handling32the Simple Cloud API Initiative
Scalability & Cloud ReadinessSession Clustering provides a Graceful Shutdown mechanismWhen a machine is shut down, it will transfer all it’s sessions to a different server in the clusterAll cluster members will know to use the replacement server while the original owner is downThis process rarely takes more than 30 secondsGraceful Shutdown allows shutting down machines permanently or for maintenance without losing sessionsAllows scaling down in addition to scaling up – Cloud ready!33the Simple Cloud API Initiative
Zend Server Cluster Manager
What is Zend Server Cluster Manager?A central management point for a cluster of Zend ServersCentral Configuration ManagementCentral MonitoringSession Clustering35the Simple Cloud API Initiative

Zend Server - OSI Days

  • 1.
    Zend Server –OSI DaysKevin SchroederTechnology EvangelistZend Technologies
  • 2.
    About meKevin SchroederTechnologyEvangelist for ZendProgrammerSys AdminAuthorIBM i Programmer’s Guide to PHPYou want to do WHAT with PHP? Coming upRace Ferraris on the weekendMy Honda has a dismal win record
  • 3.
    I blog ateschrade.comFollow us!Zend Technologieshttp://twitter.com/zendhttp://twitter.com/kpschrade (me!)
  • 4.
    A quick noteon Zendcon… BE THERE!!Learn PHP best practices
  • 5.
  • 6.
  • 7.
    Deploy and scalelarge PHP applications
  • 8.
    Explore new technologieslike NoSQL and Cloud Computing
  • 9.
    Learn how toeffectively leverage Zend Framework and Zend Framework 2.0Also, we’re doing a drawing for a copy of Zend Studio!I will be asking a question at the end, and the first person to get it will win a free copy of Zend Studio
  • 10.
    What does ZenddoZend FrameworkZend Studio (8.0 in public beta 1)Zend ServerMonitoring,Code tracing (freaking cool!!)Job queuingHA Session ClusteringZend Server Cluster ManagerLots and lots of trainingPHP, Zend Framework certifications
  • 11.
    Zend Solutions: IncreasingPHP Lifecycle MaturityZend Platform Enterprise SuiteZend ServerPlatinum SupportGold SupportDevelopTestDeployMaintainPeopleProcessProductsZend Developer SolutionZend Production Server SolutionZend StudioZend Platform Enterprise Suite(Dev License)Zend FrameworkCommunityZend Server (Dev License)Zend FrameworkEnterpriseSupportStandardSupportZend Guard
  • 12.
    Zend FrameworkZend ServerPHPTestApplicationPerformanceReliability&ManagementScale-OutBusiness-gradePHPAccelerationMonitoringClusteringHot FixesOptimizationRoot-CauseJob QueueSupportProfileCachingDownloadsJava BridgeConfigurationZend Studio (Eclipse-based)DebugCollaborateLinux(rpm/web repositories)IBM i(PTF)Windows(MSI)8Zend Server
  • 13.
    What is ZendServer?What it is notA fork of PHPA competitor of PHPWhat it is/hasFull PHP compatibility (it’s built from the same source code)SLA-based supportMany additional features
  • 14.
    Zend Server EditionsTwoversionsZend Server CE – FREEZend Server – Available with several additional features| 10Name of this section
  • 15.
  • 16.
    How does ZendServer fit?
  • 17.
    Where do thefeatures fit?
  • 18.
    The primary reasonto use Zend Server is insightWhat went wrong?Who did it happen to?But there are many useful features in Server 5
  • 19.
  • 20.
    Why do weneed diagnostic tools?
  • 21.
  • 22.
    Fixing problems ina dev environment
  • 23.
    Fixing problems inproduction environmentsLoggingMonitoring
  • 24.
  • 25.
    Code TracingReproducing anissue is not always possible...Dependency on specific SESSION state
  • 26.
  • 27.
    “Replaying” the requestis risky or impossibleZend Code Tracing can capture the entire execution flow...and, it is efficient enough to be used in most production environments!“Hindsight is always twenty-twenty.”- Billy Wilder
  • 30.
  • 31.
    Job Queue –A Common Execution Flow
  • 32.
    Why use theJob QueueVery easy to set upVery easy to use APIVery easy to scaleJob execution can be easily deployed as part of your application
  • 33.
    Not good forqueuingTypical anatomy of a PHP ApplicationPHP: Past and PresentPresentationApplication ControlDatabase AccessBusiness LogicPresentationApplication ControlBusiness LogicPresentation| 27
  • 34.
    Anatomy of aModern PHP ApplicationPHP: Past and PresentPresentationSomething.phtmlSomething.phtmlSomething.phtmlSomething.phtmlSomething.phtmlSomething.phtmlSomething.phtmlSomething.phtmlApplication ControlSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpBusiness LogicSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpDatabase AccessSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.phpSomething.php| 28Much better for queuing
  • 35.
    A useful practice:Createa generic handlerPass objects to be executed to that handler
  • 36.
  • 37.
  • 38.
    Failure Handling32the SimpleCloud API Initiative
  • 39.
    Scalability & CloudReadinessSession Clustering provides a Graceful Shutdown mechanismWhen a machine is shut down, it will transfer all it’s sessions to a different server in the clusterAll cluster members will know to use the replacement server while the original owner is downThis process rarely takes more than 30 secondsGraceful Shutdown allows shutting down machines permanently or for maintenance without losing sessionsAllows scaling down in addition to scaling up – Cloud ready!33the Simple Cloud API Initiative
  • 40.
  • 41.
    What is ZendServer Cluster Manager?A central management point for a cluster of Zend ServersCentral Configuration ManagementCentral MonitoringSession Clustering35the Simple Cloud API Initiative
  • 42.
  • 43.
  • 44.
    QuestionFor a freecopy of Zend Studio…Is it generally a good practice to use Zend Server Code Tracing in a production environment?
  • 45.
  • 46.
    Get this informationand all the examples at eschrade.com…
  • 47.
    Remember… BE THERE!!LearnPHP best practices
  • 48.
  • 49.
  • 50.
    Deploy and scalelarge PHP applications
  • 51.
    Explore new technologieslike NoSQL and Cloud Computing
  • 52.
    Learn how toeffectively leverage Zend Framework and Zend Framework 2.0

Editor's Notes

  • #8 Zend is the only company to offer enterprise-ready solutions for pre-production and production.Let’s take a closer look at the Zend software products…
  • #9  We released Zend Server and Zend Server Community Edition in April this year Products written from scratch based on our very extensive experience with Platform technologies Full integrated stack, native installer, ZF and Studio integration, software updates, all new UI, … Both editions have been very well received by users (love performance boost, ease of use, deployment) Great fit to our partners – we’re working with Varien/Magento, KnowledgeTree, MCS, … Next step will round up web app server offering to support high availability and scalability – more on this in the next few months
  • #36 - Show a demo?