SlideShare a Scribd company logo
User Experience of cloud based mobile systems (V2) Christian von Reventlow (VP for new Products at Avaya)Note this presentation represents my observations and opinions – and not the views of my employer Avaya vonreventlow@yahoo.com +1 201 259 5973
User Experience of cloud based mobile systems – key questions. Many of the readers of my blog asked - could i please compile the relevant research with references? And answer the questions: What are the speed, latency or page load time limits required for a good user experience in cloud based system? What is the actual performance achieved today? What are the architecture choices for a scalable infrastructure? How to cope with this tremendous variety of mobile devices with all the different screen sizes? How to speed up web based mobile applications? And what is the impact of the cloud delivery model – meaning many hosts involved in a single transaction? And … so what does this mean for cloud based mobile applications and the mobile web going forward. Here you go. Note the following slides present my opinions. They are not the view of my employer Avaya.
2 seconds page load is the limit for acceptable user experience How long a user will wait for a pageto load before navigating away Time/sec Year Source: http://www.webperformancetoday.com/2010/07/01/the-best-graphs-of-velocity/ Source: http://www.techpresentations.org/Performance_Related_Changes_and_their_User_Impact Source: Akamai
Page load Speed through wired connections
Metrics applied to the speed of various mobile web pages connected through fixed internet Rating Source: http://www.blaze.io/mobile/
Metrics applied to cloud service providers, Monday morning view connection cable modem (Comcast)
Metrics applied to content delivery networks.  7 day view. Cable modem connection through Comcast Note: Outliersare removed…
Delay of a mobile wireless HSPA connection (HTC Hero) on AT&T Wirelessmeasured in New Jersey, USA, in AT&T home Country at 11pm ET. Compared to wired connection through Comcast Cable Modem
Baseline: Ping to www.google.com through Cable
Ping to www.google.com through wireless
Baseline: Ping to www.twitter.com through cable
Ping to www.twitter.com through wireless 1.5 seconds peak delay
Ping to Amazon S3 docs through wireless Beyond 1 second peak delay
Ping east coast home to west coast home through wireless.  4 Seconds peak delay
Ping east coast to west coast home long term view through wireless 4 Seconds peak delay
East coast home to Japan on cable. Going global can add further 300ms
Summary of Measurements. User Experience of cloud based mobile systems. Very few web pages have load times below the 2 seconds limit for a good user experience. Cloud service providers deliver response times in the 3 - 4 seconds range through wired connections. Content from content delivery networks leads to load times in the 8 seconds range through wired connections. Wireless HSPA adds between 100 and 400ms in delay, however with occasional peak delays in the 1 to 4 seconds range.  Revenue losses beyond 5% and landing rate conversion loss beyond 30% seem to be the norm and not the exception.  Wireless HSPA adds to the issue. => Load times and latency continue to be a key issue
Speed up load times of mobile web:Choose the right architecture Typical architecture LAMP (Linux, Apache, MySQL, PHP) Sessions: Avoid them.  Store userID and login status in a cookie.  Needing more: pull account row from DB cache. Scaling web apps, image conversion, audio and video conversion is easy – they scale horizontally. Scaling the Database and content is more tricky.
Load balancing for scalability. Asynchronous systems for peak periods ,[object Object],Hardware in front –  followed by Software Wackamole with mod_backhand,  Pound, Perbal and Apache with mod_proxy Queuing is  great to cope with peak demand. Put a limit to it. Why: if a page is down users will return. If its slow people are disappointed. Example Black Friday: Macy’s load time of 21 seconds but always up JC Penny 7sec and site being down for 6 hours.  Source: Scalable Web Architectures by Cal Henderson Source: http://www.webperformancetoday.com/2010/11/30/downtime-versus-slow-page-speed/.
Most tricky is database scalability Carl Henderson’s advice: Avoid - go for a bigger box with more Ram if possible DB Replication Read/write ratio of web apps is 80/20. Use MySQL Master Slave replication. High availability Master-Master replication Need more: Ring, MySQL Cluster Memcaching makes scaling cheaper.  Use sideline cache as Danga Requires code - manual invalidating cache. And add more scale, data federation:  divide tables in sets that are never joint and move to different clusters Federate data by user, with a global lookup cluster, where you look up users. Shards: Partition horizontally. Rows of database are held separately.  Dual Tree Architecture for High Availability Masters Slaves Sideline Caching Source: Scalable Web Architectures by Cal Henderson
Serving Files Keeping many copies of data in sync is hard.  Use caching reverse proxies. Squid, Mod_proxy & mod_cache. Invalidation: change URL of modified resources. Old ones drop out of cache over time. Authentication options Use perlbl to validate tokens (preferred) or cookies. Perbl redirects file lookup Or: Auth as part of URL, then auth done on webapp server. Connect storage stateless with HTTP Source: Scalable Web Architectures by Cal Henderson
Example: Flickr Architecture Load Balancing Squid for file caching front-ending NetApps. App servers with Memcaching Two types of HA for the DB Master Master Shards Dual tree central database  Source: Scalable Web Architectures by Cal Henderson
How to cope with these many devices all having different screens.. Mobile first: Start with a mobile only page. Begin with a default stylesheet Progressively enhance using Javascript and @media query And @media query resolving in “false” is the first media query.. Adapt content as images for each device you want to support Use CSS instead of Javascript for animations. Compress content. And avoid sending data that will never rendered on the screen. Source: Rethinking the mobile web by  Yiibu
Example: Building Applications using Phone Gap and WURFL WURFL = Wireless Universal Resource File"ambitious" configuration file that contains info about all known Wireless devices on earth. Phone GAPJavaScript Open Source apps Development environment across plattforms Source: Native vs Web vs Hybrid by Jason Grigsby Source: http://wurfl.sourceforge.net/backgroundinfo.php by Luca Passani
Speed? Lots of data get downloaded to a mobile device, and are not rendered Source: Rethinking the mobile web by  Yiibu
How to speed up.. Don’t forget they pipeline. And use multipledomains forparallel requests. No more then 1 external CSS  and 1 JS. Use CSS spritesif supported.CSS not table layouts. Zero or one Cookie as up- Loaded with  Each request. DNS lookupis blocking.2-4 domainsbest due toconcurrent Download. Encourage Caching and test it works. Can give up to 75%  compression. Source: Going Fast on Mobile Web by Yibuu Source: Native vs Web vs Hybrid by Jason Grigsby
And test the result with Yslow or Safari Web inspector Source: Going Fast on Mobile Web by Yibuu
With the cloud things get more complicated: On average 8 hosts are involved in any transaction Source: Performance testing – put cloud customers back in the driver seat by ImadMouline and Brian Green
And more work is required to deliver a great user experience Performance Differences Across Browsers and Devices Source: Gomez Real-User Monitoring Real users around the world Broadband connections only 466 million page measurements 200+ sites Source: Performance testing – put cloud customers back in the driver seat by ImadMouline and Brian Green
Conclusions The quest for page load speed and low latency will continue. Many organizations will need to invest in optimizing their mobile web experience.  All types of mobile applications – fat mobile applications, hybrid applications downloading data from the cloud and web based applications will continue to be around. Let’s see how HTML 5 with resident data will impact the game.

More Related Content

Recently uploaded

GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
Javier Junquera
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Precisely
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
Pablo Gómez Abajo
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
BibashShahi
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
Zilliz
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
Fwdays
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
Miro Wengner
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Neo4j
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
Neo4j
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
akankshawande
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
Jason Yip
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
Edge AI and Vision Alliance
 

Recently uploaded (20)

GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)GNSS spoofing via SDR (Criptored Talks 2024)
GNSS spoofing via SDR (Criptored Talks 2024)
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframeDigital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
Digital Banking in the Cloud: How Citizens Bank Unlocked Their Mainframe
 
Mutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented ChatbotsMutation Testing for Task-Oriented Chatbots
Mutation Testing for Task-Oriented Chatbots
 
Principle of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptxPrinciple of conventional tomography-Bibash Shahi ppt..pptx
Principle of conventional tomography-Bibash Shahi ppt..pptx
 
Fueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte WebinarFueling AI with Great Data with Airbyte Webinar
Fueling AI with Great Data with Airbyte Webinar
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk"Frontline Battles with DDoS: Best practices and Lessons Learned",  Igor Ivaniuk
"Frontline Battles with DDoS: Best practices and Lessons Learned", Igor Ivaniuk
 
Artificial Intelligence and Electronic Warfare
Artificial Intelligence and Electronic WarfareArtificial Intelligence and Electronic Warfare
Artificial Intelligence and Electronic Warfare
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
JavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green MasterplanJavaLand 2024: Application Development Green Masterplan
JavaLand 2024: Application Development Green Masterplan
 
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid ResearchHarnessing the Power of NLP and Knowledge Graphs for Opioid Research
Harnessing the Power of NLP and Knowledge Graphs for Opioid Research
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Leveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and StandardsLeveraging the Graph for Clinical Trials and Standards
Leveraging the Graph for Clinical Trials and Standards
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development ProvidersYour One-Stop Shop for Python Success: Top 10 US Python Development Providers
Your One-Stop Shop for Python Success: Top 10 US Python Development Providers
 
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
[OReilly Superstream] Occupy the Space: A grassroots guide to engineering (an...
 
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
“How Axelera AI Uses Digital Compute-in-memory to Deliver Fast and Energy-eff...
 

Featured

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 

Featured (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

Faster cloud based web for mobile devices latency and how to accelerate by christian von reventlow v1

  • 1. User Experience of cloud based mobile systems (V2) Christian von Reventlow (VP for new Products at Avaya)Note this presentation represents my observations and opinions – and not the views of my employer Avaya vonreventlow@yahoo.com +1 201 259 5973
  • 2. User Experience of cloud based mobile systems – key questions. Many of the readers of my blog asked - could i please compile the relevant research with references? And answer the questions: What are the speed, latency or page load time limits required for a good user experience in cloud based system? What is the actual performance achieved today? What are the architecture choices for a scalable infrastructure? How to cope with this tremendous variety of mobile devices with all the different screen sizes? How to speed up web based mobile applications? And what is the impact of the cloud delivery model – meaning many hosts involved in a single transaction? And … so what does this mean for cloud based mobile applications and the mobile web going forward. Here you go. Note the following slides present my opinions. They are not the view of my employer Avaya.
  • 3. 2 seconds page load is the limit for acceptable user experience How long a user will wait for a pageto load before navigating away Time/sec Year Source: http://www.webperformancetoday.com/2010/07/01/the-best-graphs-of-velocity/ Source: http://www.techpresentations.org/Performance_Related_Changes_and_their_User_Impact Source: Akamai
  • 4. Page load Speed through wired connections
  • 5. Metrics applied to the speed of various mobile web pages connected through fixed internet Rating Source: http://www.blaze.io/mobile/
  • 6. Metrics applied to cloud service providers, Monday morning view connection cable modem (Comcast)
  • 7. Metrics applied to content delivery networks. 7 day view. Cable modem connection through Comcast Note: Outliersare removed…
  • 8. Delay of a mobile wireless HSPA connection (HTC Hero) on AT&T Wirelessmeasured in New Jersey, USA, in AT&T home Country at 11pm ET. Compared to wired connection through Comcast Cable Modem
  • 9. Baseline: Ping to www.google.com through Cable
  • 10. Ping to www.google.com through wireless
  • 11. Baseline: Ping to www.twitter.com through cable
  • 12. Ping to www.twitter.com through wireless 1.5 seconds peak delay
  • 13. Ping to Amazon S3 docs through wireless Beyond 1 second peak delay
  • 14. Ping east coast home to west coast home through wireless. 4 Seconds peak delay
  • 15. Ping east coast to west coast home long term view through wireless 4 Seconds peak delay
  • 16. East coast home to Japan on cable. Going global can add further 300ms
  • 17. Summary of Measurements. User Experience of cloud based mobile systems. Very few web pages have load times below the 2 seconds limit for a good user experience. Cloud service providers deliver response times in the 3 - 4 seconds range through wired connections. Content from content delivery networks leads to load times in the 8 seconds range through wired connections. Wireless HSPA adds between 100 and 400ms in delay, however with occasional peak delays in the 1 to 4 seconds range. Revenue losses beyond 5% and landing rate conversion loss beyond 30% seem to be the norm and not the exception. Wireless HSPA adds to the issue. => Load times and latency continue to be a key issue
  • 18. Speed up load times of mobile web:Choose the right architecture Typical architecture LAMP (Linux, Apache, MySQL, PHP) Sessions: Avoid them. Store userID and login status in a cookie. Needing more: pull account row from DB cache. Scaling web apps, image conversion, audio and video conversion is easy – they scale horizontally. Scaling the Database and content is more tricky.
  • 19.
  • 20. Most tricky is database scalability Carl Henderson’s advice: Avoid - go for a bigger box with more Ram if possible DB Replication Read/write ratio of web apps is 80/20. Use MySQL Master Slave replication. High availability Master-Master replication Need more: Ring, MySQL Cluster Memcaching makes scaling cheaper. Use sideline cache as Danga Requires code - manual invalidating cache. And add more scale, data federation: divide tables in sets that are never joint and move to different clusters Federate data by user, with a global lookup cluster, where you look up users. Shards: Partition horizontally. Rows of database are held separately. Dual Tree Architecture for High Availability Masters Slaves Sideline Caching Source: Scalable Web Architectures by Cal Henderson
  • 21. Serving Files Keeping many copies of data in sync is hard. Use caching reverse proxies. Squid, Mod_proxy & mod_cache. Invalidation: change URL of modified resources. Old ones drop out of cache over time. Authentication options Use perlbl to validate tokens (preferred) or cookies. Perbl redirects file lookup Or: Auth as part of URL, then auth done on webapp server. Connect storage stateless with HTTP Source: Scalable Web Architectures by Cal Henderson
  • 22. Example: Flickr Architecture Load Balancing Squid for file caching front-ending NetApps. App servers with Memcaching Two types of HA for the DB Master Master Shards Dual tree central database Source: Scalable Web Architectures by Cal Henderson
  • 23. How to cope with these many devices all having different screens.. Mobile first: Start with a mobile only page. Begin with a default stylesheet Progressively enhance using Javascript and @media query And @media query resolving in “false” is the first media query.. Adapt content as images for each device you want to support Use CSS instead of Javascript for animations. Compress content. And avoid sending data that will never rendered on the screen. Source: Rethinking the mobile web by Yiibu
  • 24. Example: Building Applications using Phone Gap and WURFL WURFL = Wireless Universal Resource File"ambitious" configuration file that contains info about all known Wireless devices on earth. Phone GAPJavaScript Open Source apps Development environment across plattforms Source: Native vs Web vs Hybrid by Jason Grigsby Source: http://wurfl.sourceforge.net/backgroundinfo.php by Luca Passani
  • 25. Speed? Lots of data get downloaded to a mobile device, and are not rendered Source: Rethinking the mobile web by Yiibu
  • 26. How to speed up.. Don’t forget they pipeline. And use multipledomains forparallel requests. No more then 1 external CSS and 1 JS. Use CSS spritesif supported.CSS not table layouts. Zero or one Cookie as up- Loaded with Each request. DNS lookupis blocking.2-4 domainsbest due toconcurrent Download. Encourage Caching and test it works. Can give up to 75% compression. Source: Going Fast on Mobile Web by Yibuu Source: Native vs Web vs Hybrid by Jason Grigsby
  • 27. And test the result with Yslow or Safari Web inspector Source: Going Fast on Mobile Web by Yibuu
  • 28. With the cloud things get more complicated: On average 8 hosts are involved in any transaction Source: Performance testing – put cloud customers back in the driver seat by ImadMouline and Brian Green
  • 29. And more work is required to deliver a great user experience Performance Differences Across Browsers and Devices Source: Gomez Real-User Monitoring Real users around the world Broadband connections only 466 million page measurements 200+ sites Source: Performance testing – put cloud customers back in the driver seat by ImadMouline and Brian Green
  • 30. Conclusions The quest for page load speed and low latency will continue. Many organizations will need to invest in optimizing their mobile web experience. All types of mobile applications – fat mobile applications, hybrid applications downloading data from the cloud and web based applications will continue to be around. Let’s see how HTML 5 with resident data will impact the game.

Editor's Notes

  1. Most browser support only 2 open HTTP Connections at a time