Drupal High Availability High Performance



Similar documents
Common Server Setups For Your Web Application - Part II

Server Architecture for High- Performance Drupal

The importance of Drupal Cache. Luis F. Ribeiro Ci&T Inc. 2013

Are You Ready for the Holiday Rush?

Designing, Scoping, and Configuring Scalable Drupal Infrastructure. Presented by David Strauss

making drupal run fast

always available Cloud

An overview of Drupal infrastructure and plans for future growth. prepared by Kieran Lal and Gerhard Killesreiter for the Drupal Association

4x High Performance for Drupal. Presented by Fabian Franz. Step by Step

What we're doing with Drupal at UChicago and how it can help you.

MAGENTO HOSTING Progressive Server Performance Improvements

Wikimedia Architecture Doing More With Less. Asher Feldman Ryan Lane Wikimedia Foundation Inc.

An overview of the Drupal infrastructure and plans for future growth

Open-Xchange Server High availability Daniel Halbe, Holger Achtziger

Layers of Caching: Key to scaling your website. Lance Albertson -- Narayan Newton

Ensuring scalability and performance with Drupal as your audience grows

Benchmarking filesystems and PostgreSQL shared buffers

Scalability of web applications. CSCI 470: Web Science Keith Vertanen

Wikimedia architecture. Mark Bergsma Wikimedia Foundation Inc.

Drupal Performance Tuning

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

Serving 4 million page requests an hour with Magento Enterprise

SCALABLE DATA SERVICES

Varnish the Drupal way

Large-Scale Web Applications

E-commerce is also about

Building Success on Acquia Cloud:

WebGUI Load Balancing

Search and Destroy: ELIMINATING PERFORMANCE BOTTLENECKS

Building Scalable Web Sites: Tidbits from the sites that made it work. Gabe Rudy

ZingMe Practice For Building Scalable PHP Website. By Chau Nguyen Nhat Thanh ZingMe Technical Manager Web Technical - VNG

Web Performance. Sergey Chernyshev. March '09 New York Web Standards Meetup. New York, NY. March 19 th, 2009

IdP Clustering. You want to prevent service outages. High Availability and Load Balancing. Possible problems: HW failures

Cache All The Things

MySQL High-Availability and Scale-Out architectures

High Availability Solutions for MySQL. Lenz Grimmer DrupalCon 2008, Szeged, Hungary

WordPress Optimization

Applying the Benefits of Cloud and Clustering to your Shared Hosting Platform

How To Balance A Load Balancer On A Server On A Linux (Or Ipa) (Or Ahem) (For Ahem/Netnet) (On A Linux) (Permanent) (Netnet/Netlan) (Un

Tobby Hagler, Phase2 Technology

Labochema case study

RED HAT SOFTWARE COLLECTIONS BRIDGING DEVELOPMENT AGILITY AND PRODUCTION STABILITY

BASICS OF SCALING: LOAD BALANCERS

Bricks Cluster Technical Whitepaper

by

Table of Contents. Overview... 1 Introduction... 2 Common Architectures Technical Challenges with Magento ChinaNetCloud's Experience...

Practical Load Balancing

eccharts: Behind the scenes

Simple Tips to Improve Drupal Performance: No Coding Required. By Erik Webb, Senior Technical Consultant, Acquia

Large Scale file storage with MogileFS. Stuart Teasdale Lead System Administrator we7 Ltd

Cloud Based Application Architectures using Smart Computing

(An) Optimal Drupal 7 Module Configuration for Site Performance JOE PRICE

About Acquia. Acquia Cloud Site Factory allows you to rapidly build mobile- ready brand, campaign, and franchise websites on a turnkey cloud platform.

Request for Proposals (RFP)

MySQL Reference Architectures for Massively Scalable Web Infrastructure

Background. Industry: Challenges: Solution: Benefits: APV SERIES CASE STUDY Fuel Card Web Portal

LARGE SCALE INTERNET SERVICES

Disaster Recovery Checklist Disaster Recovery Plan for <System One>

Wikimedia Infrastructure. Roan Kattouw

3/21/2011. Topics. What is load balancing? Load Balancing

High Availability CAS

Securely Connect, Network, Access, and Visualize Your Data

bla bla OPEN-XCHANGE Open-Xchange Hardware Needs

OPEN CALL FOR TENDER FOR THE PROVISION OF WEB HOSTING AND WEB DEVELOPMENT SERVICES

Using MySQL for Big Data Advantage Integrate for Insight Sastry Vedantam

Topics. 1. What is load balancing? 2. Load balancing techniques 3. Load balancing strategies 4. Sessions 5. Elastic load balancing

Adding scalability to legacy PHP web applications. Overview. Mario Valdez-Ramirez

Drupal in the Cloud. Scaling with Drupal and Amazon Web Services. Northern Virginia Drupal Meetup

Achieving Zero Downtime and Accelerating Performance for WordPress

Björn Kraus. Session Aware Full Page Caching For Magento With Varnish ESI

Wednesday, October 10, 12. Running a High Performance LAMP stack on a $20 Virtual Server

Rails Application Deployment. July Philly on Rails

Bubble Full Page Cache for Magento

Portable Scale-Out Benchmarks for MySQL. MySQL User Conference 2008 Robert Hodges CTO Continuent, Inc.

Mule Enterprise Service Bus (ESB) Hosting

MySQL High Availability Solutions. Lenz Grimmer OpenSQL Camp St. Augustin Germany

Load Balancing Web Applications

Resume for Paul Conolly. Senior I.T. Professional

Transcription:

Drupal High Availability High Performance

Drupal High Availability High Performance How to sleep without the server-crash-fear

High Availability

High Availability no Single Point of Failure

High Availability no Single Point of Failure Redundancy

High Performance

High Performance Response times

High Performance Response times Caching

High Performance Response times Caching HTML

High Performance Response times Caching HTML Data (serialized)

High Performance Response times Caching HTML Data (serialized) Scalable

High Performance Response times Caching HTML Data (serialized) Scalable adding easy and fast more servers

Scalable & Redundancy Server System

starting position

Goal Varnish Varnish

starting position

Two Webserver

Apache/PHP

Apache/PHP APC

Apache/PHP APC precompiled

Apache/PHP APC precompiled keeps files in memory

nginx?

nginx? lightweight Webserver

nginx? lightweight Webserver Reverse Proxy

nginx? lightweight Webserver Reverse Proxy Loadbalander

nginx? lightweight Webserver Reverse Proxy Loadbalander can be faster

nginx? lightweight Webserver Reverse Proxy Loadbalander can be faster more knowledge needed

Two Webserver MySQL?

starting position

dedicated MySQL

second Webserver

How to Access??

Loadbalancer

Loadbalancer

Loadbalancer passes through request

Loadbalancer passes through request Man in the middle

Loadbalancer

second Loadbalancer

second Loadbalancer files?

NFS NFS

NFS fallback? NFS

GlusterFS

GlusterFS

GlusterFS Distributed Filesystem

GlusterFS Distributed Filesystem multiple Server/Clients

GlusterFS Distributed Filesystem multiple Server/Clients auto-heal

GlusterFS Distributed Filesystem multiple Server/Clients auto-heal split-brain

GlusterFS Distributed Filesystem multiple Server/Clients auto-heal split-brain Not so fast

GlusterFS

second GlusterFS

MySQL fallback?

MySQL Master/Slave

MySQL Master/Slave Master

MySQL Master/Slave Master WRITE

MySQL Master/Slave Master WRITE Slave

MySQL Master/Slave Master WRITE Slave READ

MySQL Master/Slave Master WRITE Slave READ Hot Spare

MySQL Master/Slave Master WRITE Slave READ Hot Spare Slave becomes Master

MySQL

MySQL

Memcache memcache?

memcache

memcache Replaces _cache tables

memcache Replaces _cache tables Key / Value Store

memcache Replaces _cache tables Key / Value Store Fast

memcache Replaces _cache tables Key / Value Store Fast Memory only

memcache Replaces _cache tables Key / Value Store Fast Memory only own Server

Memcache

Varnish Varnish Varnish

Varnish

Varnish Reverse Proxy

Varnish Reverse Proxy Hates Cookies/Sessions

Varnish Reverse Proxy Hates Cookies/Sessions No SSL

Varnish Reverse Proxy Hates Cookies/Sessions No SSL Drupal 6

Varnish Reverse Proxy Hates Cookies/Sessions No SSL Drupal 6 Pressflow

Varnish Reverse Proxy Hates Cookies/Sessions No SSL Drupal 6 Pressflow Drupal 7/8

Varnish Reverse Proxy Hates Cookies/Sessions No SSL Drupal 6 Pressflow Drupal 7/8 in Core

tadaa! Varnish Varnish

Questions! Michael Schmid michael@amazeelabs.com @schnitzel