Drupal High Availability High Performance Samstag, 3. November 12
Drupal High Availability High Performance How to sleep without the server-crash-fear Samstag, 3. November 12
High Availability Samstag, 3. November 12
High Availability •no „Single Point of Failure“ Samstag, 3. November 12
High Availability •no „Single Point of Failure“ •Redundancy Samstag, 3. November 12
High Performance Samstag, 3. November 12
High Performance •Response times Samstag, 3. November 12
High Performance •Response times •Caching Samstag, 3. November 12
High Performance •Response times •Caching •HTML Samstag, 3. November 12
High Performance •Response times •Caching •HTML •Data (serialized) Samstag, 3. November 12
High Performance •Response times •Caching •HTML •Data (serialized) •Scalable Samstag, 3. November 12
High Performance •Response times •Caching •HTML •Data (serialized) •Scalable • adding easy and fast more servers Samstag, 3. November 12
Scalable & Redundancy Server System Samstag, 3. November 12
starting position Samstag, 3. November 12
Goal Varnish Varnish Samstag, 3. November 12
starting position Samstag, 3. November 12
Two Webserver Samstag, 3. November 12
Apache/PHP Samstag, 3. November 12
Apache/PHP • APC Samstag, 3. November 12
Apache/PHP • APC • precompiled Samstag, 3. November 12
Apache/PHP • APC • precompiled • keeps files in memory Samstag, 3. November 12
nginx? Samstag, 3. November 12
nginx? • lightweight Webserver Samstag, 3. November 12
nginx? • lightweight Webserver • Reverse Proxy Samstag, 3. November 12
nginx? • lightweight Webserver • Reverse Proxy • Loadbalander Samstag, 3. November 12
nginx? • lightweight Webserver • Reverse Proxy • Loadbalander • can be faster Samstag, 3. November 12
nginx? • lightweight Webserver • Reverse Proxy • Loadbalander • can be faster • more knowledge needed Samstag, 3. November 12
Two Webserver MySQL? Samstag, 3. November 12
starting position Samstag, 3. November 12
dedicated MySQL Samstag, 3. November 12
second Webserver Samstag, 3. November 12
How to Access? ? Samstag, 3. November 12
Loadbalancer Samstag, 3. November 12
Loadbalancer Samstag, 3. November 12
Loadbalancer •passes through request Samstag, 3. November 12
Loadbalancer •passes through request • „Man in the middle“ Samstag, 3. November 12
Loadbalancer Samstag, 3. November 12
second Loadbalancer Samstag, 3. November 12
second Loadbalancer files? Samstag, 3. November 12
NFS NFS Samstag, 3. November 12
NFS NFS fallback? Samstag, 3. November 12
GlusterFS Samstag, 3. November 12
GlusterFS Samstag, 3. November 12
GlusterFS •Distributed Filesystem Samstag, 3. November 12
GlusterFS •Distributed Filesystem • multiple Server/Clients Samstag, 3. November 12
GlusterFS •Distributed Filesystem • multiple Server/Clients • auto-heal Samstag, 3. November 12
GlusterFS •Distributed Filesystem • multiple Server/Clients • auto-heal • split-brain Samstag, 3. November 12
GlusterFS •Distributed Filesystem • multiple Server/Clients • auto-heal • split-brain • Not so fast Samstag, 3. November 12
GlusterFS Samstag, 3. November 12
second GlusterFS Samstag, 3. November 12
MySQL fallback? Samstag, 3. November 12
MySQL Master/Slave Samstag, 3. November 12
MySQL Master/Slave •Master Samstag, 3. November 12
MySQL Master/Slave •Master •WRITE Samstag, 3. November 12
MySQL Master/Slave •Master •WRITE •Slave Samstag, 3. November 12
MySQL Master/Slave •Master •WRITE •Slave •READ Samstag, 3. November 12
MySQL Master/Slave •Master •WRITE •Slave •READ •Hot Spare Samstag, 3. November 12
MySQL Master/Slave •Master •WRITE •Slave •READ •Hot Spare •Slave becomes Master Samstag, 3. November 12
MySQL Samstag, 3. November 12
MySQL Samstag, 3. November 12
Memcache memcache? Samstag, 3. November 12
memcache Samstag, 3. November 12
memcache •Replaces “_cache“ tables Samstag, 3. November 12
memcache •Replaces “_cache“ tables •Key / Value Store Samstag, 3. November 12
memcache •Replaces “_cache“ tables •Key / Value Store •Fast Samstag, 3. November 12
memcache •Replaces “_cache“ tables •Key / Value Store •Fast •Memory only Samstag, 3. November 12
memcache •Replaces “_cache“ tables •Key / Value Store •Fast •Memory only •own Server Samstag, 3. November 12
Memcache Samstag, 3. November 12
Varnish Varnish Varnish Samstag, 3. November 12
Varnish Samstag, 3. November 12
Varnish • Reverse Proxy Samstag, 3. November 12
Varnish • Reverse Proxy • Hates Cookies/Sessions Samstag, 3. November 12
Varnish • Reverse Proxy • Hates Cookies/Sessions • No SSL Samstag, 3. November 12
Varnish • Reverse Proxy • Hates Cookies/Sessions • No SSL • Drupal 6 Samstag, 3. November 12
Varnish • Reverse Proxy • Hates Cookies/Sessions • No SSL • Drupal 6 • Pressflow Samstag, 3. November 12
Varnish • Reverse Proxy • Hates Cookies/Sessions • No SSL • Drupal 6 • Pressflow • Drupal 7/8 Samstag, 3. November 12
Varnish • Reverse Proxy • Hates Cookies/Sessions • No SSL • Drupal 6 • Pressflow • Drupal 7/8 • in Core Samstag, 3. November 12
tadaa! Varnish Varnish Samstag, 3. November 12
Questions! Michael Schmid michael@amazeelabs.com @schnitzel Samstag, 3. November 12
Recommend
More recommend