![Page 1: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/1.jpg)
Housekeeping
Can you hear us? Raise your hand.
Today’s webinar is being recorded and will be
posted in the next 24 hours at:
Submit questions, we’ll answer as many as we
can at end
–Give it a try & tell us where you are listening in from
today
![Page 2: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/2.jpg)
Building an Architecture for Scalability: myLifetime.com on MySQL and Drupal
Kieran Lal
Drupal community adventure guide
Acquia
Nathan Potter
VP Digital Media Technology
A&E TV Network
![Page 3: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/3.jpg)
Recordings and Q&A
• This webinar will be recorded
• Questions will be taken at the end
![Page 4: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/4.jpg)
Introductions and Agenda
•Nathan Potter, VP Digital Media Technology
•Kieran Lal, Drupal community adventure guide
• History of mylifetime.com• Techniques for scaling Drupal• Questions and Answers
![Page 5: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/5.jpg)
About mylifetime and A&E TV Network
• The ultimate source for women’s entertainment
• More than 3.6 million women visit lifetime.com’s web properties
• 50 Million page views per month
• Mylifetime’s web properties include (myLifetime.com, Roiworld.com, DressUpChallenge.com, LifetimeMoms.com, and MothersClick.com)
• A&E is a joint venture of, Walt Disney, and the Hearst Corporation, NBC Universal
![Page 6: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/6.jpg)
Why Drupal?
• Original site was built on custom PHP code• Custom PHP code was not reliable or scalable• Make the site more interactive: comments, voting, ratings• Drupal has a highly flexible architecture• Many developers working on similar issues accelerated troubleshooting as opposed to relying on proprietary experts
![Page 7: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/7.jpg)
Early development
![Page 8: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/8.jpg)
Joining mylifetime
• Coming from AOL•Moviefone, AOL TV, AOL Music
• Proprietary architecture• Increased user interaction at mylifetime• Identify bottlenecks• Introduce architecture improvements
![Page 9: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/9.jpg)
Development and staging
environments
• Development moved out of house to give you
flexilibity
• Switched to using Jmeter across 3-4
development servers to simulate staging
• Full log ins, ratings, and all the interactive stuff
he needed to do
![Page 10: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/10.jpg)
Early architecture
• Promotional sub-sites drive specific traffic• Sporadic volume spikes• Separating anonymous and named user traffic • Traffic increases require ongoing database query tuning
• Tied to programming – difficult to anticipate
![Page 11: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/11.jpg)
Acquiring ParentsClick
• Strong technical team
• Expertise in Drupal 6
• Parentsclick acts as base for mylifetime.com
migration to Drupal 6
• More experience with Solr search
• Drupal 6 had performance and scalability
improvements
![Page 12: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/12.jpg)
![Page 13: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/13.jpg)
![Page 14: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/14.jpg)
Acquired by A&E Television Network
![Page 15: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/15.jpg)
Team today
• 5 developers• Development manager• 3 project managers• Consulting company in India for Q&A
• They will do some load testing and development• 5-6 developers as well as the QA team.
![Page 16: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/16.jpg)
Current architecture
![Page 17: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/17.jpg)
Akamai Content Delivery Network
• Points of presence, International
• Media Extender for anonymous pages
• CDN for Images, Javascript, CSS
• Custom CDN module
• Authcache module distinguishes Akamai traffic
![Page 18: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/18.jpg)
Project runway, and Amish Grace
![Page 19: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/19.jpg)
Web servers
• Apache Webserver and Lighttpd as the origin for
Akamai
• Apache, APC
• Separate Memcache server now, isolate and
improve performance. Stabilized. No net new
servers.
• During Project runway and Amazing Grace
• 15 apache- 5 memcache
• 10 apache – 5 memcache
• Get extra web servers monthly
![Page 20: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/20.jpg)
![Page 21: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/21.jpg)
Memcache
• Started doing page caching from memcache,
bread and butter, comments
![Page 22: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/22.jpg)
Database servers
• 2 Masters for different sections of the site
– Multi-site and apache and different instances
– One of the sites is single sign on custom
• 3rd master is a hot backup of the 2 masters
• Each main master has 2 slaves
• Mostly slave scaling, 8 core and 16 GB servers,
plenty of capacity
• Have slow query and no-index
– Monthly review by DBA
![Page 23: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/23.jpg)
Search
• Lighttpd servers act as Solr servers
• Linux and Java stack
• Solr configuration for HA
• Query and Index server off of both servers
![Page 24: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/24.jpg)
Video
• Monetization of ads
• Akamai delivers videos
• Some video on Hulu
• Fast follow – all shows within 48 hours for full
• 5,000 videos online 2009
• Army wives was first time using fast follow
• Project runway cascading effect, they will go
there when they want to see a show
![Page 25: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/25.jpg)
Network
• 3Par Fiber backbone for failover between DBs
• Isolan Network File System the vendor for the
NAS appliance between web servers
![Page 26: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/26.jpg)
Future of Drupal scalability
• Drupal 7 database layer: Oracle support
– http://drupal.org/project/oracle
• Edge Side Includes
– http://drupal.org/node/651902
• Multi-tier caching
– http://drupal.org/node/621748
• Pluggable menu systems
– http://drupal.org/node/669608
![Page 27: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/27.jpg)
Future of Drupal scalability
• Sequences API, savepoints for nested
transactions
– http://drupal.org/node/669794
• External Cache for reverse proxy caching
– Swap the page_cache implementation in D7 for a fake
cache
• Cloud computing scale on demand
![Page 28: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/28.jpg)
Acquia is Your Drupal Guide
What modules should we install?
Where do we get professional support?
How do we keep our site up-to-date?
...Where do we start?
![Page 29: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/29.jpg)
Acquia's Triple play
![Page 30: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/30.jpg)
Drupal + Acquia = Customer Success
The Drupal Advantage
Rapid assembly approach
reduces custom programming
Modular, extensible architecture
optimized for social publishing
Thriving development
community
Vast module library
Zero software acquisition cost
Industry standard LAMP stack
Strong security track record
The Acquia Advantage
Full lifecycle technical support
Best practices advisory support
Drupal essentials, conveniently
packaged
Fitness & diagnostics via the
Acquia Network
Optimized Drupal hosting
Extend sites with cloud-based
services
Confidence from an enterprise
partner
![Page 31: Building an Architecture for Scalability: myLifetime.comon MySQLand Drupal](https://reader033.vdocuments.site/reader033/viewer/2022061119/546b2b06b4af9f000e8b46e9/html5/thumbnails/31.jpg)
Questions
For more information, visit:
–http://acquia.com
–http://twitter.com/amazonk
–http://twitter.com/acquia
Contact us:
–888.9.ACQUIA
–Nathan http://drupal.org/user/263042
Case study available at:http://acquia.com/resources/library/case-study-lifetime-
digital