failability
play

#failability How to not Fail on Launch http://adammalone.net Adam - PowerPoint PPT Presentation

#failability How to not Fail on Launch http://adammalone.net Adam Malone @adammalone drupal.org/user/1295980 aka typhonius Adam Malone | How to not Fail on Launch about:me Client Advisory - Acquia APJ Created my first HTML site: 2009


  1. #failability How to not Fail on Launch http://adammalone.net Adam Malone @adammalone drupal.org/user/1295980 aka typhonius Adam Malone | How to not Fail on Launch

  2. about:me ● Client Advisory - Acquia APJ ● Created my first HTML site: 2009 ● SSH’d into my first server: 2010 ● Found out about Drupal: May 2011 ● First core commit: Aug 2012 (Issue #304540)

  3. about:acquia ● Drupal as a Service ● Infrastructure, Support, Workflow ● Hosted on scalable managed AWS instances ● Centuries of combined knowledge

  4. about:launches

  5. How to fail on Launch ● The ‘Double Jeopardy’ ● The ‘Bulletproof Glass’ ● The ‘Franken-Server’ ● The ‘Naked Gun’

  6. healthcare.gov Problems

  7. healthcare.gov Solutions ● More authenticated caching ● Staggered/phased roll-out ● Asynchronous signups/tasks ● Client-side processing ● Reduce Single Points of Failure

  8. How to not Fail on Launch ● Size accurately ● Load test thoroughly ● Audit custom modules ● Use good caching strategies ● DNS ● Scotch

  9. How to not Fail on Launch

  10. How to fail on Launch ...cont ● The ‘Sleeping Beauty’ ● The ‘LOST’ ● The ‘General Custer’ ● The ‘100 Years War’

  11. Load Testing ● Use historical logs ● Break your site ● Tell your host ● Remove the need for changes near/during launch

  12. Sizing ● Page views per month ● % Authenticated ● Docroots ● Memory limit ● PHP (FPM/CGI)

  13. DNS ● Tell your host ● Drop the TTL before launch ● Use correct records

  14. Caching ● External: Varnish/CDN ● Internal: Memcache/Redis ● Drupal Core ● Contrib

  15. How to fail on Launch ...cont ...cont ● The ‘Marty McFly’ ● The ‘Sell by date’ ● The ‘Spider bite’ ● The ‘One Ring to rule them all’ ● The ‘MacGuyver’

  16. Module Anti-patterns ● variable_set every page load ● Setting sessions for anonymous ● *_ui / dblog / statistics ● Unnecessary functions - *_load ● External calls

  17. Scotch

  18. How to not Fail after Launch

  19. Questions?

  20. Resources Caching Load Testing ● ● Varnish Blazemeter ○ ○ Memcache jmeter ○ ○ Redis SOASTA ○ ○ DynamoDB ab ○ ○ Entity Cache Profiling ○ ● Views Cache Bully ○ XDebug ○ Cache Audit ○ XHProf ○ Variables that suck less ○ Launch ● Static-ify ● Checklist httrack ○ boost Scotch ○ ● Scaling ● Any good bottle shop ○ Stack Demo ○

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend