drupal
play

Drupal High Availability High Performance Samstag, 3. November 12 - PowerPoint PPT Presentation

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


  1. Drupal High Availability High Performance Samstag, 3. November 12

  2. Drupal High Availability High Performance How to sleep without the server-crash-fear Samstag, 3. November 12

  3. High Availability Samstag, 3. November 12

  4. High Availability •no „Single Point of Failure“ Samstag, 3. November 12

  5. High Availability •no „Single Point of Failure“ •Redundancy Samstag, 3. November 12

  6. High Performance Samstag, 3. November 12

  7. High Performance •Response times Samstag, 3. November 12

  8. High Performance •Response times •Caching Samstag, 3. November 12

  9. High Performance •Response times •Caching •HTML Samstag, 3. November 12

  10. High Performance •Response times •Caching •HTML •Data (serialized) Samstag, 3. November 12

  11. High Performance •Response times •Caching •HTML •Data (serialized) •Scalable Samstag, 3. November 12

  12. High Performance •Response times •Caching •HTML •Data (serialized) •Scalable • adding easy and fast more servers Samstag, 3. November 12

  13. Scalable & Redundancy Server System Samstag, 3. November 12

  14. starting position Samstag, 3. November 12

  15. Goal Varnish Varnish Samstag, 3. November 12

  16. starting position Samstag, 3. November 12

  17. Two Webserver Samstag, 3. November 12

  18. Apache/PHP Samstag, 3. November 12

  19. Apache/PHP • APC Samstag, 3. November 12

  20. Apache/PHP • APC • precompiled Samstag, 3. November 12

  21. Apache/PHP • APC • precompiled • keeps files in memory Samstag, 3. November 12

  22. nginx? Samstag, 3. November 12

  23. nginx? • lightweight Webserver Samstag, 3. November 12

  24. nginx? • lightweight Webserver • Reverse Proxy Samstag, 3. November 12

  25. nginx? • lightweight Webserver • Reverse Proxy • Loadbalander Samstag, 3. November 12

  26. nginx? • lightweight Webserver • Reverse Proxy • Loadbalander • can be faster Samstag, 3. November 12

  27. nginx? • lightweight Webserver • Reverse Proxy • Loadbalander • can be faster • more knowledge needed Samstag, 3. November 12

  28. Two Webserver MySQL? Samstag, 3. November 12

  29. starting position Samstag, 3. November 12

  30. dedicated MySQL Samstag, 3. November 12

  31. second Webserver Samstag, 3. November 12

  32. How to Access? ? Samstag, 3. November 12

  33. Loadbalancer Samstag, 3. November 12

  34. Loadbalancer Samstag, 3. November 12

  35. Loadbalancer •passes through request Samstag, 3. November 12

  36. Loadbalancer •passes through request • „Man in the middle“ Samstag, 3. November 12

  37. Loadbalancer Samstag, 3. November 12

  38. second Loadbalancer Samstag, 3. November 12

  39. second Loadbalancer files? Samstag, 3. November 12

  40. NFS NFS Samstag, 3. November 12

  41. NFS NFS fallback? Samstag, 3. November 12

  42. GlusterFS Samstag, 3. November 12

  43. GlusterFS Samstag, 3. November 12

  44. GlusterFS •Distributed Filesystem Samstag, 3. November 12

  45. GlusterFS •Distributed Filesystem • multiple Server/Clients Samstag, 3. November 12

  46. GlusterFS •Distributed Filesystem • multiple Server/Clients • auto-heal Samstag, 3. November 12

  47. GlusterFS •Distributed Filesystem • multiple Server/Clients • auto-heal • split-brain Samstag, 3. November 12

  48. GlusterFS •Distributed Filesystem • multiple Server/Clients • auto-heal • split-brain • Not so fast Samstag, 3. November 12

  49. GlusterFS Samstag, 3. November 12

  50. second GlusterFS Samstag, 3. November 12

  51. MySQL fallback? Samstag, 3. November 12

  52. MySQL Master/Slave Samstag, 3. November 12

  53. MySQL Master/Slave •Master Samstag, 3. November 12

  54. MySQL Master/Slave •Master •WRITE Samstag, 3. November 12

  55. MySQL Master/Slave •Master •WRITE •Slave Samstag, 3. November 12

  56. MySQL Master/Slave •Master •WRITE •Slave •READ Samstag, 3. November 12

  57. MySQL Master/Slave •Master •WRITE •Slave •READ •Hot Spare Samstag, 3. November 12

  58. MySQL Master/Slave •Master •WRITE •Slave •READ •Hot Spare •Slave becomes Master Samstag, 3. November 12

  59. MySQL Samstag, 3. November 12

  60. MySQL Samstag, 3. November 12

  61. Memcache memcache? Samstag, 3. November 12

  62. memcache Samstag, 3. November 12

  63. memcache •Replaces “_cache“ tables Samstag, 3. November 12

  64. memcache •Replaces “_cache“ tables •Key / Value Store Samstag, 3. November 12

  65. memcache •Replaces “_cache“ tables •Key / Value Store •Fast Samstag, 3. November 12

  66. memcache •Replaces “_cache“ tables •Key / Value Store •Fast •Memory only Samstag, 3. November 12

  67. memcache •Replaces “_cache“ tables •Key / Value Store •Fast •Memory only •own Server Samstag, 3. November 12

  68. Memcache Samstag, 3. November 12

  69. Varnish Varnish Varnish Samstag, 3. November 12

  70. Varnish Samstag, 3. November 12

  71. Varnish • Reverse Proxy Samstag, 3. November 12

  72. Varnish • Reverse Proxy • Hates Cookies/Sessions Samstag, 3. November 12

  73. Varnish • Reverse Proxy • Hates Cookies/Sessions • No SSL Samstag, 3. November 12

  74. Varnish • Reverse Proxy • Hates Cookies/Sessions • No SSL • Drupal 6 Samstag, 3. November 12

  75. Varnish • Reverse Proxy • Hates Cookies/Sessions • No SSL • Drupal 6 • Pressflow Samstag, 3. November 12

  76. Varnish • Reverse Proxy • Hates Cookies/Sessions • No SSL • Drupal 6 • Pressflow • Drupal 7/8 Samstag, 3. November 12

  77. Varnish • Reverse Proxy • Hates Cookies/Sessions • No SSL • Drupal 6 • Pressflow • Drupal 7/8 • in Core Samstag, 3. November 12

  78. tadaa! Varnish Varnish Samstag, 3. November 12

  79. Questions! Michael Schmid michael@amazeelabs.com @schnitzel Samstag, 3. November 12

Recommend


More recommend