Upload
rightscale
View
1.117
Download
4
Embed Size (px)
DESCRIPTION
Kent Mitchell, Director of Product Marketing at Zend, led this session at the RightScale User Conference 2010 in Santa Clara. Session Abstract: The cloud is the new “holy grail” for a lot of people. The cloud enables sites to ramp up new servers for increased load and then ramp down servers when the load decreases. This minimizes upfront costs and provides “pay as you go” cost structure. This scenario is very compelling, especially for startups where budgets are tight. But it also presents some challenges such as making sure the new servers are identical to the existing servers, monitoring the ever-changing cluster, and retaining critical problem data when servers ramp down. In this session, we’ll demonstrate how using Zend Server Cluster Manager together with the RightScale Cloud Management Platform provide solutions for managing cloud-based, highly available PHP server clusters.
Citation preview
.All rights reserved. Zend Technologies, Inc ©
HA PHP Clusters in the CloudKent Mitchell
Director, Product Management
Zend
.All rights reserved. Zend Technologies, Inc ©
Why PHP Will Dominate the Cloud
.All rights reserved. Zend Technologies, Inc ©3
Over One Third of the Web Runs on PHP
.All rights reserved. Zend Technologies, Inc ©4 # 4
+4million developers
.All rights reserved. Zend Technologies, Inc ©5
Broad Technology Ecosystem
.All rights reserved. Zend Technologies, Inc ©6
PHP Architecture is Perfect for the Cloud
• Linear scalability
Stateless nature of PHP
• Share nothing architecture
• Add Servers for Scaling
Deterministic execution
• No GC or other activities
• Broad DB support
Support for almost all DB technologies
• Pick the one that is best for you
DB side connection pooling
• DB2, Oracle
.All rights reserved. Zend Technologies, Inc ©7
But … People can break anything
•Treat the cloud instances like “physical machines”
Deploy multiple apps to the server (limits scalability)
Oversize instances (too much capacity)
• Introduce Single Point of Failure
Choose the wrong DB (complex scaling)
Memcache servers for data caching
• Introduce non-linear scalability
Clustering support is typically centralized
.All rights reserved. Zend Technologies, Inc ©8
Basic PHP Solution
Load Balancer
PHP ServerPHP ServerPHP Server PHP Server
Data Cache
Memcache Server
DBServer
.All rights reserved. Zend Technologies, Inc ©9
Zend Products for the Application Lifecycle
Manage
Depl
oy
Test
Deve
lop
.All rights reserved. Zend Technologies, Inc ©10
Zend Server for HA PHP
•Transparent Session Failover
100% compatible with standard PHP session
Fully distributed peer-to-peer
•Distributed caching
No Single point of failure
•PHP aware page caching
Allows access to PHP data
Distributed
•No Single point of failure
.All rights reserved. Zend Technologies, Inc ©11
Zend PHP Cloud Platform Components
Resource Allocation Metering SecurityCLOUDINFRASTRUCTURE
Provisioning Auto-scaling MonitoringCLOUD MANAGEMENT
MessageQueue
Data Store
RDBMS
Cloud Server Integration
CloudServicesTooling
DesktopVirtualization
Storage
CLOUDSERVICES
CLOUD SERVICES LAYERCloud Services SimpleCloud Web Services
FRAMEWORK SERVICES LAYER
MVC
Security
Mobile
RIAAuth
Data Access
RUNTIME SERVICES LAYERSession
ClusteringApplicationMonitoring
ClusterManagement
ConfigurationManagement
Enterprise PHP
ApplicationDeployment
.All rights reserved. Zend Technologies, Inc ©12
Zend Cluster Solution
Load Balancer
Zend ServerZend ServerZend Server Zend Server
MySQL Master
MySQL Slave
Replication w/Auto-failover
Zend Server Cluster Manager
Auto-scalingArray
Rightscale Cloud Management
.All rights reserved. Zend Technologies, Inc 2009 ©
A Quick Demo
.All rights reserved. Zend Technologies, Inc 2009 ©
Thank you!