Achieving Zero Downtime and Accelerating Performance for WordPress



Similar documents
Enabling Database-as-a-Service (DBaaS) within Enterprises or Cloud Offerings

ScaleArc for SQL Server

Achieving Zero Downtime for Apps in SQL Environments

Securing the Database Stack

ScaleArc idb Solution for SQL Server Deployments

Scaling Database Performance in Azure

Cloud Based Application Architectures using Smart Computing

Accelerating Web-Based SQL Server Applications with SafePeak Plug and Play Dynamic Database Caching

Serving 4 million page requests an hour with Magento Enterprise

NetScaler SQL Intelligent Load Balancing. Scaling the Data Tier with.

FlexNetwork Architecture Delivers Higher Speed, Lower Downtime With HP IRF Technology. August 2011

Case Study - I. Industry: Social Networking Website Technology : J2EE AJAX, Spring, MySQL, Weblogic, Windows Server 2008.

Boost your VDI Confidence with Monitoring and Load Testing

Tier Architectures. Kathleen Durant CS 3200

never 20X spike ClustrixDB 2nd Choxi (Formally nomorerack.com) Customer Success Story Reliability and Availability with fast growth in the cloud

The Flash- Transformed Server Platform Maximizing Your Migration from Windows Server 2003 with a SanDisk Flash- enabled Server Platform

MakeMyTrip CUSTOMER SUCCESS STORY

Deploying XenApp 7.5 on Microsoft Azure cloud

Microsoft Exchange Load Balancing. Unique Applied Patent Technology By XRoads Networks

Configuration and Development

WHITE PAPER: Egenera Cloud Suite

DataStax Enterprise, powered by Apache Cassandra (TM)

be architected pool of servers reliability and

How To Use Hp Vertica Ondemand

Where every interaction matters. Data Sheet: Magento Optimised Managed Hosting. Optimal Performance. Rock-Solid Reliability. Expertly Supported

nomorerack CUSTOMER SUCCESS STORY RELIABILITY AND AVAILABILITY WITH FAST GROWTH IN THE CLOUD

Affordable, Scalable, Reliable OLTP in a Cloud and Big Data World: IBM DB2 purescale

Accelerating Wordpress for Pagerank and Profit

Introduction 1 Performance on Hosted Server 1. Benchmarks 2. System Requirements 7 Load Balancing 7

HGST Virident Solutions 2.0

Why NoSQL? Your database options in the new non- relational world IBM Cloudant 1

F5 and Oracle Database Solution Guide. Solutions to optimize the network for database operations, replication, scalability, and security

Cloudy with 100% Visibility: Monitoring Application Performance in Hybrid Clouds

BigMemory & Hybris : Working together to improve the e-commerce customer experience

Elasticsearch on Cisco Unified Computing System: Optimizing your UCS infrastructure for Elasticsearch s analytics software stack

Microsoft SQL Server on Stratus ftserver Systems

Preview of Oracle Database 12c In-Memory Option. Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Zero Downtime Deployments with Database Migrations. Bob Feldbauer

Tushar Joshi Turtle Networks Ltd

FISMA Cloud GovDataHosting Service Portfolio

PHP in the Cloud. Running Business-Critical PHP Applications in the Cloud

The IBM Cognos Platform for Enterprise Business Intelligence

An Oracle White Paper November Oracle Real Application Clusters One Node: The Always On Single-Instance Database

Scalability and BMC Remedy Action Request System TECHNICAL WHITE PAPER

Realizing the True Potential of Software-Defined Storage

Top 10 Reasons why MySQL Experts Switch to SchoonerSQL - Solving the common problems users face with MySQL

How In-Memory Data Grids Can Analyze Fast-Changing Data in Real Time

White Paper. Optimizing the Performance Of MySQL Cluster

Astaro Deployment Guide High Availability Options Clustering and Hot Standby

McAfee Web Reporter Turning volumes of data into actionable intelligence

Executive Summary WHAT IS DRIVING THE PUSH FOR HIGH AVAILABILITY?

Building Success on Acquia Cloud:

MAGENTO HOSTING Progressive Server Performance Improvements

<Insert Picture Here> Oracle In-Memory Database Cache Overview

Networking and High Availability

Monitoring Best Practices for

SanDisk ION Accelerator High Availability

Data Center Storage Solutions

IBM Software Information Management. Scaling strategies for mission-critical discovery and navigation applications

WHITE PAPER: Egenera Cloud Suite

Modern IT Operations Management. Why a New Approach is Required, and How Boundary Delivers

TECHNOLOGY WHITE PAPER Jun 2012

solution brief September 2011 Can You Effectively Plan For The Migration And Management of Systems And Applications on Vblock Platforms?

Using an In-Memory Data Grid for Near Real-Time Data Analysis

Technology Brochure New Technology for the Digital Consumer

A REVIEW PAPER ON THE HADOOP DISTRIBUTED FILE SYSTEM

CLOUD DEVELOPMENT BEST PRACTICES & SUPPORT APPLICATIONS

Desktop Automation: Effective Desktop Operations & Management with Cloud Orchestration

REDEFINE SIMPLICITY TOP REASONS: EMC VSPEX BLUE FOR VIRTUALIZED ENVIRONMENTS

Eliminating End User and Application Downtime. Continuous Availability for your Business Applications

WHITE PAPER September CA Nimsoft Monitor for Servers

Networking and High Availability

Oracle Acceleration with the SanDisk ION Accelerator Solution

Software- as- a- Service (SaaS) on AWS Business and Architecture Overview

Direct NFS - Design considerations for next-gen NAS appliances optimized for database workloads Akshay Shah Gurmeet Goindi Oracle

Microsoft SQL Server 2014 Fast Track

SOLUTIONS PRODUCTS INDUSTRIES RESOURCES SUPPORT ABOUT US ClearCube Technology, Inc. All rights reserved. Contact Support

Analytics March 2015 White paper. Why NoSQL? Your database options in the new non-relational world

Ten Things You Need to Know About Data Virtualization

Web Application Hosting in the AWS Cloud Best Practices

The Evolution of Load Testing. Why Gomez 360 o Web Load Testing Is a

Storage Solutions to Maximize Success in VDI Environments

Simplified Management With Hitachi Command Suite. By Hitachi Data Systems

STEELCENTRAL APPINTERNALS

N-tier Architecture Improves Scalability, Availability and Ease of Integration

MySQL CLUSTER. Scaling write operations, as well as reads, across commodity hardware. Low latency for a real-time user experience

WEBAPP PATTERN FOR APACHE TOMCAT - USER GUIDE

InfiniteGraph: The Distributed Graph Database

IBM Software Database strategies for the world of big data

Designing & Managing Reliable IT Services

SOLUTION BRIEF. Advanced ODBC and JDBC Access to Salesforce Data.

The Next Evolution in Storage Virtualization Management

ORACLE VM MANAGEMENT PACK

Virtualizing SQL Server 2008 Using EMC VNX Series and Microsoft Windows Server 2008 R2 Hyper-V. Reference Architecture

New Features in SANsymphony -V10 Storage Virtualization Software

Highly Available Unified Communication Services with Microsoft Lync Server 2013 and Radware s Application Delivery Solution

Powerful Duo: MapR Big Data Analytics with Cisco ACI Network Switches

Guide to Scaling OpenLDAP

Solving Rendering Bottlenecks in Computer Animation

Planning the Migration of Enterprise Applications to the Cloud

Transcription:

Application Note Achieving Zero Downtime and Accelerating Performance for WordPress Executive Summary WordPress is the world s most popular open source website content management system (CMS). As usage of your website increases, accelerating WordPress and its interaction with the underlying MySQL database becomes crucial to maintaining your site response time. Traditionally, organizations have relied on directly modifying applications to improve database performance. For WordPress, that scenario is challenging for many reasons, including keeping up with frequent platform updates, as they are critical to ensuring the security of your website. As a result, acceleration approaches that rely on code-level application tuning take considerable time and resources, because every time a new security update comes out, you may need to re-modify the code or merge code with the new version before you can update WordPress. Database load balancing software from ScaleArc provides a compelling alternative. ScaleArc deploys transparently between an application and a SQL database to improve application performance and availability, needing no modifications to the application accessing the SQL database. ScaleArc has developed database load balancing software for MySQL, SQL Server, and Oracle database servers. Deployed in conjunction with WordPress and MySQL, the ScaleArc software instantly improves WordPress performance, allowing the WordPress-based site to scale to potentially support millions of visitors without any changes to the platform. Testing shows a reduction of average query response time from nearly 60 milliseconds (ms) to just above 1 millisecond (ms) as successively more ScaleArc features are enabled, as shown in Table 1. Without ScaleArc, incorporating advanced features to gain these response-time improvements would require building support for connection pooling, load balancing, and query caching directly into the application. With ScaleArc, organizations can deploy the software in just a few hours, and their out of the box WordPress environments can gain an almost 60-fold improvement in application database performance. 2015 ScaleArc. All Rights Reserved. 1

This application note details how organizations can leverage the ScaleArc software to quickly and easily improve WordPress performance. Table 1: Query response time. This table illustrates how query response time, measured in milliseconds, decreases as more ScaleArc features are enabled. WordPress Overview WordPress is the world s most popular open source website content management system (CMS). With more than 4.2 million live installations and 50% market share, 1 WordPress is the de facto standard for web site design, development, and delivery. WordPress is written in PHP to run on MySQL database servers. This combination provides a capable, expandable, and feature-rich platform for hosting dynamic web sites responsive to the needs of content consumers and creators as well as site administrators. WordPress Challenges Although WordPress presents a simple interface that shields users from its details, optimizing it for improved application performance is difficult. Among the challenges: 1 Water & Stone, 2011 Open Source CMS Market Share Report, November, 2011. 2015 ScaleArc. All Rights Reserved. 2

Architectural complexity: The web server, database, and WordPress engine all work together to deliver applications. Each has its own nuances and presents its own opportunities for optimization. Lack of performance insights: Architects and developers must be aware of dozens of factors affecting performance and often lack the tools needed to determine the performance bottlenecks for a given WordPress site. Resources needed for database tuning: At the database layer, optimizing MySQL requires specialized development. Improving performance via database replication requires patching WordPress to selectively issue read and write requests to different servers depending on the replication architecture, 2 diverting valuable engineering resources. Customer Spotlight SpinMedia is the world s largest collective of pop culture and music digital brands, garnering 34 million unique visitors consuming more than 400 million page views each month. The company s 45 digital brands include the WordPress-based sites Buzznet, Celebuzz, Idolator, SPIN, The Frisky, The Superficial, and Vibe. As the popularity of its websites increased, SpinMedia needed to scale throughput, but database scale out requires app modification, which isn t possible with packaged applications like WordPress. SpinMedia turned to ScaleArc for transparent scalability. Deployment brought an immediate boost, speeding page load times and improving availability. SpinMedia has now designed ScaleArc into its next-generation web hosting architecture. Database Load Balancing Software The Simple Alternative Just as web load balancers abstract applications from web servers and provide a platform for performance optimization, database load balancing software improves application availability and performance for SQL databases without needing any changes to the application accessing the database. Database load balancing software inserts transparently between applications and SQL databases, providing a range of features that increase application response time, simplify high availability (HA) architectures, and provide real-time analytics into SQL queries. 2 Using Replication for Scale-Out, Section 16.3.3, MySQL 5.6 Reference Manual. 2015 ScaleArc. All Rights Reserved. 3

ScaleArc offers database load balancing software for MySQL, SQL Server, and Oracle databases. Leveraging this software in WordPress and MySQL environments offers an ideal solution for improving WordPress performance. Among its capabilities, the ScaleArc software can provide functionality such as: Read/write split: ScaleArc automatically directs read requests to replication Slaves and writes requests to replication Masters. No change within WordPress itself is required. This approach allows you to use your hot spare slave to serve read traffic, using what would otherwise be idle, redundant capacity and improving performance. Load balancing: ScaleArc automatically balances requests among a pool of database servers using a dynamic load-balancing algorithm that sends more load to the server that is likely to respond the fastest. WordPress does not need to track how busy (or free) various servers are within the pool. Automatic failover: ScaleArc can automatically detect server failures and redirect load to a second master, if one is available, or even safely promote an existing slave to become the new master. It does so in a transactionally consistent manner, maintaining ACID compliance and keeping your data safe. Connection pooling: ScaleArc automatically pools requests from multiple WordPress sites and ensures that database connections are used in the most efficient manner possible. This capability allows you to add many more web servers, without having to worry about running out of database connections. Query result caching: ScaleArc automatically caches SQL queries on a per-user, per-query basis. Repeated requests for the same item, such as a site s home page, are subsequently retrieved from memory cache rather than disk. Caching both the most common queries, such as requests to the content and comment tables, and WordPress configuration tables even for periods as short as one minute drives a massive boost in performance. Full SQL logs: ScaleArc automatically logs all successful and exceptional activity between WordPress and a collection of MySQL servers to offer a single point for data collection. Real-time analytics: The ScaleArc software includes visual graphing tools to help administrators and developers analyze site operations dynamically in real-time. 2015 ScaleArc. All Rights Reserved. 4

Benefits of ScaleArc Software The ScaleArc software offers site administrators and developers the following benefits: Immediate performance gains. The combination of read/write split, load balancing, pooling, and caching traffic between WordPress and MySQL offers an immediate performance improvement, well beyond that available with any single optimization approach. Application transparency. Implementing the ScaleArc software requires only administrative changes no WordPress or other code change is required. Once MySQL server replication is configured, optimizing another WordPress site requires only a connection reference change. Development and operations de-coupling. Administrators may determine which database servers are masters without involving WordPress. Administrators may allocate servers based on seasonal performance load. Developers can use the simpler single-threaded design pattern, even if administrators find a more complex architecture is needed. High availability. ScaleArc offers a fault-tolerant, high-availability mode that can provide five nines (99.999%) uptime. This architecture is critically important for 24x7 website operation, especially in commerce, content delivery, and media industries. Reduced cost. Since ScaleArc optimizes performance at the SQL query level, it is effective across the entire database infrastructure with all storage engines simultaneously. Site administrators also save money because they don t need to invest in versions of MySQL that perform thread pooling. Analytics and logging. Detailed reporting provides up-to-the-minute problem and status metrics, going well beyond simple go/no go testing. This real-time data provides insights for avoiding congestion problems before they happen. See the Gains in your Environment To get a better feel for how the ScaleArc software works, you can watch a brief animation on our website. But the best way to see what ScaleArc can do for your WordPress environment is to try it out. Request a free trial on our website. Also check out our detailed WordPress Deployment Guide. It provides each step needed to deploy ScaleArc to improve availability and performance on WordPress. 2901 Tasman Drive, Suite 205 Santa Clara, CA 95054 Phone: 1-408-780-2040 Fax: 1-408-427-3748 www.scalearc.com ScaleArc is the leading provider of database load balancing software. The ScaleArc software inserts transparently between applications and databases, creating an agile data tier that provides continuous availability and increased performance for all apps. With ScaleArc, enterprises also gain instant database scalability and a new level of real-time visibility for their application environments, both on prem and in the cloud. Learn more about ScaleArc, our customers, and our partners at www.scalearc.com. 2015 ScaleArc. All Rights Reserved. ScaleArc and the ScaleArc logo are trademarks or registered trademarks of ScaleArc in the United States and other countries. All brand names, product names, or trademarks belong to their respective holders. 01/07/15