Upgrade to Pro — share decks privately, control downloads, hide ads and more …

High Performance Web Applications

Matt Wood
October 29, 2012

High Performance Web Applications

Building high performance web applications on AWS.

Matt Wood

October 29, 2012
Tweet

More Decks by Matt Wood

Other Decks in Technology

Transcript

  1. H

  2. g DECOUPLED SCALE OUT S OPTIMIZE COST FOR C AUTOMATE

    v CALIBRATED FOR: CPU performance v CALIBRATED FOR: IO performance 5patterns for performance
  3. P P

  4. Shared responsibility Infrastructure by AWS OS, application and data by

    customers Tools to help meet best practices r
  5. Decoupling provides an architectural framework for performance Easier to separate

    concerns: assets, streaming, etc. Easier to manage and scale. r
  6. Elasticity is a tenet of the cloud Scale up when

    you need to Scale down when you don’t r
  7. Deploying and scaling a datastore r Follow the same patterns:

    horizontal scale, availability, automation.
  8. Amazon Relational Database Service r Management systems: CRM, ERP, finance

    Does your application require a strict, controlled schema for query flexibility? Yes
  9. Amazon DynamoDB r Web apps, social apps, mobile apps, user

    generated content, unstructured data integration, lots of data. Does your application require a strict, controlled schema for query flexibility? No
  10. CloudFront for dynamic content r Edge caching for dynamic content

    Cache by query string parameters Multiple origin servers Persistent connections to origin servers
  11. Automatically respond to operational alarms r Network capacity > 80%:

    add instances Memory utilization > 75%: add instances CPU < 50%: remove instances
  12. Treat your data as a royal garden Backup to S3:

    high durability Compute is a disposable resource r
  13. Low latency, unlimited scale Writes acknowledged when saved to disk

    in multiple data centres. Backed on SSDs. r
  14. Reserved instance resale Sell your reservations on the resale market

    Sellers set your own price Buyers select and check out r
  15. 5patterns for performance g DECOUPLED SCALE OUT S OPTIMIZE COST

    FOR v CALIBRATED FOR: CPU performance v CALIBRATED FOR: IO performance
  16. 5patterns for performance g DECOUPLED SCALE OUT S OPTIMIZE COST

    FOR v CALIBRATED FOR: CPU performance v CALIBRATED FOR: IO performance C AUTOMATE