Upload
rightscale
View
715
Download
0
Embed Size (px)
Citation preview
©All rights reserved. Zend Technologies, Inc.
PHP APPS ON THE MOVEMIGRATING FROM IN-HOUSE TO CLOUD
©All rights reserved. Zend Technologies, Inc.2
ZendThe PHP company
• Over 10 years of experience• More than 40,000 customers• Broad Partnerships with key technologies
©All rights reserved. Zend Technologies, Inc.3
Typical Single Server Configurations
Apache Web ServerPHP
Session Files MySQL DB
Apache Web ServerPHP
Session Files
MySQL Server
All-in-One Configuration
Separate DB Server
©All rights reserved. Zend Technologies, Inc.4
Typical Multi-Server Configuration
MySQL Server
Apache Web ServerPHP
Session Files
Apache Web ServerPHP
Session Files
Load Balancer
©All rights reserved. Zend Technologies, Inc.5
Challenges• Main issues
Sessions especially with scale-down• It’s easy to add more session but how do you know when you
can remove?DB scaling
• Replication, mirroring, etc are not easy• Other Potential Problems
HA sessionsHA DBCaching
©All rights reserved. Zend Technologies, Inc.6
©All rights reserved. Zend Technologies, Inc.7
What does Mediaspike do?•Mediaspike generates leads for online and traditional colleges and universities
•Two primary sites: AchieveYourCareer.comFindYourDegree.com
•Custom Matching Algorithms to find best fit for students
•Targeted high-volume campaigns
©All rights reserved. Zend Technologies, Inc.8
The Old Way
• One giant server being fed from our subversion repository and backing up data to S3.
Apache Web ServerPHP
Session Files MySQL DB
©All rights reserved. Zend Technologies, Inc.9
Problems• No room for traffic bursts• FRAGILE - Don't want to upgrade X
because it may break Y.• Single point of failure - could shut down
our business for hours to days. • Encouraged manual "hacking". Rather
than run the proper build script, I'll just tweak this file on the live site. It's OK...
©All rights reserved. Zend Technologies, Inc.10
Flexible and Configurable PaaS• Pre-configured Zend PHP architecture to speed time to market
• Based on Zend and RightScale’s best practices
• Auto-scaling based on system and application load metrics, supported by load balancing
• PHP session clustering for high availability
• Redundant database with failover and recovery
©All rights reserved. Zend Technologies, Inc.11
Fully Integrated IDE
Self-serve setup
Team Support
Application Fabric
Cloud Development PlatformComplete PHP App Server
Transparent Scaling
Application Provisioning
App Performance Management
Caching Job Queuing
Diagnostics / Root cause analysis
Support
High Availability
Security Hot fixes
Centralized Configuration
Auto scalingCloud Infrastructure
Templates & Configuration
Design and Develop
Runtime Platform Manage
Eclipse IDE
PHP Tooling
PRODUCTION ECOSYSTEM
Zend PHP vs Open Source
©All rights reserved. Zend Technologies, Inc.12
With RightScale and Zend
©All rights reserved. Zend Technologies, Inc.13
Benefits• No more single point of (disastrous)
failure• MySQL master/slave replication and EBS
Snapshot backups "just work"• Better reliability because everything is
scripted. No more manual build processes
• Flexibility to change architecture as needed
• Increased capacity, of course
©All rights reserved. Zend Technologies, Inc.14
Q&A• Other Links