scaling for the expected and unexpected
play

Scaling for the Expected and Unexpected Brian Moon Senior Web - PowerPoint PPT Presentation

Scaling for the Expected and Unexpected Brian Moon Senior Web Engineer dealnews.com http://brian.moonspot.net/ twitter.com/brianlmoon Tuesday, June 23, 2009 Tuesday, June 23, 2009 Unexpected Likely one page.... at first Likely coming


  1. Scaling for the Expected and Unexpected Brian Moon Senior Web Engineer dealnews.com http://brian.moonspot.net/ twitter.com/brianlmoon Tuesday, June 23, 2009

  2. Tuesday, June 23, 2009

  3. Unexpected Likely one page.... at first Likely coming from a single source Tuesday, June 23, 2009

  4. Planned degradation What can we take down? When should we take stuff down? What is acceptable service? Tuesday, June 23, 2009

  5. Basic Caching Caching Database Queries Caching Content File based caching memcached, in process cache, etc. Tuesday, June 23, 2009

  6. Make Content Static Copy pages to static files Do scheduled updates while under load Tuesday, June 23, 2009

  7. Expected Jun 06 - May 09 Tuesday, June 23, 2009

  8. Dec 26, 2006 Dec 1, 2008 Tuesday, June 23, 2009

  9. Proxy Servers Reduce load on application servers Content caching Varnish, Squid, even home made Tuesday, June 23, 2009

  10. Heavy Read Loads Replicate for heavy read load Denormalization Collapse data into fewer tables Duplicating data is OK. Cache as needed Tuesday, June 23, 2009

  11. Heavy Write Loads Separate primary data storage (“write” servers) and read servers Write data out of band Tuesday, June 23, 2009

  12. Testing Decide how big you want to scale Benchmark the actual application Test against production environment Determine acceptable load Use a service (Keynote, Gomez) Tuesday, June 23, 2009

  13. 3rd Party Content USE AN IFRAME! Bonus Coverage Piss off advertisers Tell them to get over it Tell sales “tough shit” Tuesday, June 23, 2009

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