an overview of amazon silk
play

An Overview of Amazon Silk Amazons new cloud-powered browser Jon - PowerPoint PPT Presentation

An Overview of Amazon Silk Amazons new cloud-powered browser Jon Jenkins Twitter - @jonjenk jjenkin@amazon.com OReilly Velocity EU November 8, 2011 Web Page Complexity is Steadily Increasing Amazons Home Page ~1996 2 elements 1


  1. An Overview of Amazon Silk Amazon’s new cloud-powered browser Jon Jenkins Twitter - @jonjenk jjenkin@amazon.com O’Reilly Velocity EU November 8, 2011

  2. Web Page Complexity is Steadily Increasing

  3. Amazon’s Home Page ~1996 2 elements 1 domain 10 kilobytes

  4. Amazon’s Home Page ~1996 2011 2 elements 96 elements 1 domain 12 domains 10 kilobytes 530 kilobytes

  5. Amazon Home Page Size Growth Total Elements 120 100 80 60 40 20 0 1996 1998 2000 2002 2004 2006 2008 2010 Total Kilobytes 700 600 500 400 300 200 100 0 1996 1998 2000 2002 2004 2006 2008 2010

  6. HTTP Archive Data Total Elements Per Page 86 84 82 80 78 76 74 72 70 68 Nov-10 Oct-11 Total Kilobytes Per Page 850 800 750 700 650 600 Nov-10 Oct-11

  7. HTTP Archive Data HTML Elements Per Page 8 7 6 5 4 3 2 1 0 Nov-10 Oct-11 HTML Kilobytes Per Page 38 37 36 35 34 33 32 Nov-10 Oct-11

  8. HTTP Archive Data Javascript Elements Per Page 16 14 12 10 8 6 4 2 0 Nov-10 Oct-11 Javascript Kilobytes Per Page 160 140 120 100 80 60 Nov-10 Oct-11

  9. HTTP Archive Data CSS Elements Per Page 5 4 3 2 1 0 Nov-10 Oct-11 CSS Kilobytes Per Page 31 30 29 28 27 26 25 24 23 22 Nov-10 Oct-11

  10. HTTP Archive Data Images Per Page 54 53 52 51 50 49 48 47 46 45 Nov-10 Oct-11 Image Kilobytes Per Page 520 500 480 460 440 420 400 Nov-10 Oct-11

  11. HTTP Archive Data Number of Domains Per Page 14 12 10 8 6 4 2 0 Nov-10 Oct-11

  12. HTTP Archive Data Average Page Speed Score 86 85 84 83 82 81 80 79 Nov-10 Oct-11

  13. Are we losing the battle? war?

  14. Migration to Mobile Makes the Problem Even Worse

  15. What do you get for $500? Desktop Laptop Tablet Phone CPU Quad 2.1Ghz Dual 2.1Ghz Dual 1.2Ghz Dual 1Ghz Memory 4GB 3GB 1GB 512MB Disk/Flash 1000GB 320GB 32GB 8GB Network 1Gbps 54Mbps 54Mpbs 10Mbps

  16. The Network Matters Power Saving Mode (PSM) degrades wi-fi performance Radio Resource Control (RRC) degrades cellular performance

  17. Mobile Platform Load Times Amazon Detail Page Load Times By Platform (milliseconds) 12000 10000 8000 6000 4000 2000 0 Sunday Wenesday Saturday Desktop Smart Phone iPad

  18. Complex = L + Mobile Web

  19. Complex Amazon = J + Web Silk

  20. What Makes Amazon Silk Different?

  21. The Architecture of the Web

  22. The Architecture of the Web

  23. Introducing Silk

  24. A Tale of Two Web Pages www.google.com 15 elements 238 kilobytes 2 domains 1.951 sec load time www.cnn.com 175 elements 1,737 kilobytes 23 domains 11.181 sec load time

  25. Dynamic Split

  26. Dynamic Split EC2 Kindle Fire

  27. Dynamic Split EC2 Kindle Fire

  28. Dynamic Split EC2 Kindle Fire

  29. Amazon Silk Technical Details

  30. Silk Architecture AWS Browser SPDY Browser Distributed Frontend Backend Cache ser WebKit Optimizers Optimizers Optimizers HTTP(S) Internet

  31. Client Architecture Rendering engine is Webkit JavaScript engine is V8 Browser The application layer is built from scratch Frontend ser WebKit Automatic user agent mode Flash 10.3 support Falls back to local rendering on failure

  32. Server Architecture Infrastructure is hosted on AWS AWS No user-identifiable data logged Distributed Browser Backend Cache Logs not kept for more than 30 days Optimizers Optimizers will evolve over time

  33. Optimizers Image optimization Content minification Optimizers Optimizers Optimizers Content compression Content push via page indexes Predictive rendering

  34. Protocols Silk client and server communicate via SPDY Multiplexed concurrent streams Request prioritization SPDY Compression Encryption Server push HTTP(S) Silk server communicates via HTTP(S) Silk client uses HTTP(s) when turned off SSL is always routed direct to origin

  35. Info for Web Developers User Agent Strings At Launch • Mobile Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Cloud9/1.0.0) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 • Desktop Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us; Cloud9/1.0.0) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16 User Agent String After First Software Update • Mobile – Acceleration On Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Silk/1.1.0-72) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 Silk- Accelerated=true • Desktop – Acceleration On Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us; Silk/1.1.0-72) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16 Silk- Accelerated=true • Mobile – Acceleration Off Mozilla/5.0 (Linux; U; Android 2.3.4; en-us; Silk/1.1.0-72) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1 Silk- Accelerated=false • Desktop – Acceleration Off Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_3; en-us; Silk/1.1.0-72) AppleWebKit/533.16 (KHTML, like Gecko) Version/5.0 Safari/533.16 Silk- Accelerated=false

  36. Info for Web Developers Original IP address propagated in x-forwarded-for header We strictly obey caching headers Caching reduces sites bandwidth costs for site owners Content is optimized, but never replaced

  37. Info for Users Everything is encrypted when in acceleration mode Caching on Silk server saves storage on the client Content compression saves bandwidth Acceleration can be turned off in settings menu Flash can be turned off in settings menu Browser works in offline mode for local content

  38. What AWS Services Does Silk Use? Elastic Compute Cloud Identity & Access Mgmt Elastic Block Store Route 53 Elastic Load Balancing Simple Queue Service Auto Scaling Simple Storage Service CloudWatch Elasticache CloudFormation

  39. Final Thoughts

  40. References Wi-fi Power Saving Mode (slide 16) http://www.networkworld.com/research/2008/051208-wireless-power-standards.html Radio Resource Control (slide 16) http://stevesouders.com/ms/ Data about growth of mobile (slide 14) http://www.onlinemarketing-trends.com/2011/06/state-of-tablet-adoption-infographic.html http://www.kpcb.com/internettrends2011 Web Page Test Data for CNN (slide 24) http://www.webpagetest.org/result/111107_5T_23VNE/ Web Page Test Data for Google (slide 24) http://www.webpagetest.org/result/111108_JP_23ZW2/ HTTP Archive Data (slide 6) http://httparchive.org/trends.php?s=intersection Internet Wayback Machine (slide 5) http://wayback.archive.org/web/*/http://www.amazon.com

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