SlideShare a Scribd company logo
P L AY G A M E S .
                               MAKE FRIENDS.

                                      Using CDN and Front-End
                                       Optimization To Deliver a
                                       Good Mobile Experience




Yottaa Inc.
101 Summer St
Boston, MA
http://www.yottaa.com
@Yottaa
                                                © 2012 Yottaa Inc. All Rights Reserved.
M O C O S PA C E I S A D E S T I N AT I O N
              We are the best place to play games, make friends, and stay connected on the mobile Web.



Over 25 Million               60 Million Minutes Spent Daily
  Members




                                                       Largest Catalog Of Free-
                                                        to-play HTML5 Games




                                                       1st and 3rd party games from
                                                         over 2 dozen developers
                                                                                                               2
                                                                         © 2012 Yottaa Inc. All Rights Reserved.
Mobile: Key Challenges

• Mobile networks are slowww....
• High packet loss
  – High noise environment
• Connections made ad-hoc
  – Dropped to preserve spectrum, battery
• Latency, Latency, Latency
  – >300ms via 3G vs <50ms on broadband


                                                                        3
                              © 2012 Yottaa Inc. All Rights Reserved.
Mobile: Key Challenges

• Mobile hardware
  – CPU 10x slower than desktop
  – Script parsing slow
     • 1-10ms / KB
• Mobile software
  – Fragmentation
  – Limited persistent and in-memory caching
     • 0-25 MB on mobile vs 75-250 MB on desktop
     • Android – only 4 MB!
     • Average page size ~400KB mobile vs ~800KB desktop

                                                                             4
                                   © 2012 Yottaa Inc. All Rights Reserved.
Front-End Optimization

• Front-end: 90% of page load time
  – Network time
  – Browser time
• Optimization techniques
  1. Reduce HTTP requests
  2. Reduce page size
  3. Optimize page render time


                                                                       5
                             © 2012 Yottaa Inc. All Rights Reserved.
Yottaa Solution for Mobile Acceleration

 • Front-End Optimizations
    – Reduce HTTP requests
    – Reduce page size
    – Optimize page render time
 • Plus Global CDN
 • Customize optimizations through online
   control panel
 • No installs , No code changes
 • Support for HTTPS
                                                                            6
                                  © 2012 Yottaa Inc. All Rights Reserved.
Reduce HTTP Requests

• # requests has highest correlation to load
  time
• Inline images (Data URI), scripts, CSS
• Combine JavaScript + CSS requests
• Leverage browser cache with far-future TTLs
• Leverage HTML5 local storage (5 MB)
• Lazy load resources
  – On demand images for those below the fold
• Sprite images
                                                                          7
                                © 2012 Yottaa Inc. All Rights Reserved.
NumberMash

 • Removed 18 image
   requests using dataURI
 • <img class="coinImage"
   src="data:image/png;bas
   e64,iVBORw0KGgo…
 • Images are instantly
   displayed for better
   experience.
                                                      8
            © 2012 Yottaa Inc. All Rights Reserved.
Reduce Page Size

•   Less to download, better load time
•   Minify HTML, JavaScript, CSS content
•   GZIP all JavaScript and CSS content
•   Image optmization
    – Remove extra data and meta-data (lossless)
    – Dynamic downsizing



                                                                          9
                                © 2012 Yottaa Inc. All Rights Reserved.
HappyFarm

  • CDN uses reduces
    response time on asset
    delivery
  • Compression used to
    reduces bandwidth
  • Override cache
    behavior of developer
    to improve client-side
    cache usage
                                                     10
           © 2012 Yottaa Inc. All Rights Reserved.
Optimize Page Render Time

• Edge caching
• Place CSS as high as possible
• Async script execution
  – Place scripts as low as possible
  – Avoid blocking
• Parallelize requests
  – Pre-emptively load assets in parallel before
    the browser asks for them
                                                                          11
                                © 2012 Yottaa Inc. All Rights Reserved.
Mocospace
   • Global Audience
     – 25 million registered
       users
     – 60 million minutes
       online everyday
   • Global Developer
     Network
     – 2 dozen plus game
       developers
     – Hosting their games in
       unknown locations
                                                      12
            © 2012 Yottaa Inc. All Rights Reserved.
Thank you

• Jamie Hall CTO – Mocospace
    – jamie@corp.mocospace.com
• Bob Buffone CTO - Yottaa
    – bbuffone@yottaa.com
•   Twitter
•   @mocospace
•   @yottaa
•   Learn More About The Yottaa Solution For
    Mobile Acceleration here
                                                                           13
                                 © 2012 Yottaa Inc. All Rights Reserved.

More Related Content

PPTX
NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...
PPTX
Yottaa website-performance-services-overview-hostingcon-2011-
PPTX
Best practices to optimize commerce site performance [webinar slides]
PPTX
Mobile Optimization Tips from Yottaa - MEGMeetup #1
PPTX
Yottaa State of Web Performance Optimization Group Webinar
PPTX
Image-ine That: Image Optimization for Conversion Maximization
PPTX
2016: The Year to Align Marketing & IT Departments
PPTX
97/2013
NextGen CDNs: Webinar with Dan Rayburn of Frost and Sullivan and Ari Weil of ...
Yottaa website-performance-services-overview-hostingcon-2011-
Best practices to optimize commerce site performance [webinar slides]
Mobile Optimization Tips from Yottaa - MEGMeetup #1
Yottaa State of Web Performance Optimization Group Webinar
Image-ine That: Image Optimization for Conversion Maximization
2016: The Year to Align Marketing & IT Departments
97/2013

Viewers also liked (13)

PPTX
Trabajo colaborativo 2
DOC
Ensino religioso 6
DOC
Prova diagnostica portugues em
PPT
Presentacion tac tectonic
PPS
Sutileza masculina
DOC
Atividades interdisciplinar de interpretação e.religioso, soc, portugues
PPT
PDF
Dr.marketing Rodrigo Seco_schvabe_www.drmkt.com.br_usando-a-tecnologia-para-c...
PDF
Raí e o mundo que não era mágico
 
PPS
PPT
Lectoescritura (j f)
PPSX
Ip demo
PPTX
2013 GMC Yukon XL Denali Philadelphia
Trabajo colaborativo 2
Ensino religioso 6
Prova diagnostica portugues em
Presentacion tac tectonic
Sutileza masculina
Atividades interdisciplinar de interpretação e.religioso, soc, portugues
Dr.marketing Rodrigo Seco_schvabe_www.drmkt.com.br_usando-a-tecnologia-para-c...
Raí e o mundo que não era mágico
 
Lectoescritura (j f)
Ip demo
2013 GMC Yukon XL Denali Philadelphia
Ad

Similar to Cdn-Summit-2012-mocospace-and-yottaa (20)

PPTX
Testing Drupal Site Performance Across Browsers, Geographies and Networks
PPTX
Velocity NY 2013 - From Slow to Fast: Improving Performance on Intuit Website...
PPTX
Anti design patterns - an experts guide to making a slow website - yottaa sit...
PPTX
Optimizing and Accelerating your SharePoint Farm
PDF
Frontend performance on the web | Presentation @ecommercecamp 2019
PDF
Turbocharging php applications with zend server (workshop)
PPTX
An Expert's Guide to Making a Website Slow - Chicago Webmasters Meetup 6/5/2012
PDF
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
PDF
Mit MarvelClient das Meiste aus HCL Nomad Web herausholen
PPT
performance.ppt
PPTX
Vn mobile day2013 - zalo sharing
PDF
针对iPad平台的高性能网站架构
PDF
Mobile web performance dwx13
PDF
Business Success With Core Web Vitals | Izzi Smith
PPTX
Your customer your asset seminar ecommerce and website speed yottaa
PDF
Practical Performance Tips and Tricks to Make Your HTML/JavaScript Apps Faster
PPTX
Vietnam Mobile Day 2013: Developing a mobile messenger for the audience of mi...
KEY
Native vs web apps
PDF
That's Web? Extreme Optimization for the Mobile Web (Oct 2012)
PPTX
Inside Zalo: Developing a mobile messenger for the audience of millions - VN ...
Testing Drupal Site Performance Across Browsers, Geographies and Networks
Velocity NY 2013 - From Slow to Fast: Improving Performance on Intuit Website...
Anti design patterns - an experts guide to making a slow website - yottaa sit...
Optimizing and Accelerating your SharePoint Farm
Frontend performance on the web | Presentation @ecommercecamp 2019
Turbocharging php applications with zend server (workshop)
An Expert's Guide to Making a Website Slow - Chicago Webmasters Meetup 6/5/2012
5 Steps To Deliver The Fastest Mobile Shopping Experience This Holiday Season
Mit MarvelClient das Meiste aus HCL Nomad Web herausholen
performance.ppt
Vn mobile day2013 - zalo sharing
针对iPad平台的高性能网站架构
Mobile web performance dwx13
Business Success With Core Web Vitals | Izzi Smith
Your customer your asset seminar ecommerce and website speed yottaa
Practical Performance Tips and Tricks to Make Your HTML/JavaScript Apps Faster
Vietnam Mobile Day 2013: Developing a mobile messenger for the audience of mi...
Native vs web apps
That's Web? Extreme Optimization for the Mobile Web (Oct 2012)
Inside Zalo: Developing a mobile messenger for the audience of millions - VN ...
Ad

More from Yottaa (9)

PPTX
Optimizing Website Performance in the Age of Mobile & Social
PPTX
How to Optimize Your Entire Mobile Experience
PPTX
Monetizing Mobile: How To Optimize Mobile Engagement and Conversions
PPTX
Beyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
PPTX
So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...
PPTX
Managing a Website Performance Optimization (WPO) Project
PDF
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
PPTX
Yottaa site speed optimizer presentation at mass innovation nights part of fu...
PPTX
Mongodb beijingconf yottaa_3.3
Optimizing Website Performance in the Age of Mobile & Social
How to Optimize Your Entire Mobile Experience
Monetizing Mobile: How To Optimize Mobile Engagement and Conversions
Beyond CDNs: How to Harness the Next Phase of Innovation in Web Performance
So you want to build a mobile app - HTML5 vs. Native @ the Boston Mobile Expe...
Managing a Website Performance Optimization (WPO) Project
How GoDaddy Brought Down Millions of Sites – and How to Avoid Being a DNS Out...
Yottaa site speed optimizer presentation at mass innovation nights part of fu...
Mongodb beijingconf yottaa_3.3

Recently uploaded (20)

PPTX
sap open course for s4hana steps from ECC to s4
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Cloud computing and distributed systems.
PPT
Teaching material agriculture food technology
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Network Security Unit 5.pdf for BCA BBA.
sap open course for s4hana steps from ECC to s4
Spectral efficient network and resource selection model in 5G networks
Cloud computing and distributed systems.
Teaching material agriculture food technology
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Building Integrated photovoltaic BIPV_UPV.pdf
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
NewMind AI Weekly Chronicles - August'25 Week I
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Digital-Transformation-Roadmap-for-Companies.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Understanding_Digital_Forensics_Presentation.pptx
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
MIND Revenue Release Quarter 2 2025 Press Release
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
MYSQL Presentation for SQL database connectivity
Network Security Unit 5.pdf for BCA BBA.

Cdn-Summit-2012-mocospace-and-yottaa

  • 1. P L AY G A M E S . MAKE FRIENDS. Using CDN and Front-End Optimization To Deliver a Good Mobile Experience Yottaa Inc. 101 Summer St Boston, MA http://www.yottaa.com @Yottaa © 2012 Yottaa Inc. All Rights Reserved.
  • 2. M O C O S PA C E I S A D E S T I N AT I O N We are the best place to play games, make friends, and stay connected on the mobile Web. Over 25 Million 60 Million Minutes Spent Daily Members Largest Catalog Of Free- to-play HTML5 Games 1st and 3rd party games from over 2 dozen developers 2 © 2012 Yottaa Inc. All Rights Reserved.
  • 3. Mobile: Key Challenges • Mobile networks are slowww.... • High packet loss – High noise environment • Connections made ad-hoc – Dropped to preserve spectrum, battery • Latency, Latency, Latency – >300ms via 3G vs <50ms on broadband 3 © 2012 Yottaa Inc. All Rights Reserved.
  • 4. Mobile: Key Challenges • Mobile hardware – CPU 10x slower than desktop – Script parsing slow • 1-10ms / KB • Mobile software – Fragmentation – Limited persistent and in-memory caching • 0-25 MB on mobile vs 75-250 MB on desktop • Android – only 4 MB! • Average page size ~400KB mobile vs ~800KB desktop 4 © 2012 Yottaa Inc. All Rights Reserved.
  • 5. Front-End Optimization • Front-end: 90% of page load time – Network time – Browser time • Optimization techniques 1. Reduce HTTP requests 2. Reduce page size 3. Optimize page render time 5 © 2012 Yottaa Inc. All Rights Reserved.
  • 6. Yottaa Solution for Mobile Acceleration • Front-End Optimizations – Reduce HTTP requests – Reduce page size – Optimize page render time • Plus Global CDN • Customize optimizations through online control panel • No installs , No code changes • Support for HTTPS 6 © 2012 Yottaa Inc. All Rights Reserved.
  • 7. Reduce HTTP Requests • # requests has highest correlation to load time • Inline images (Data URI), scripts, CSS • Combine JavaScript + CSS requests • Leverage browser cache with far-future TTLs • Leverage HTML5 local storage (5 MB) • Lazy load resources – On demand images for those below the fold • Sprite images 7 © 2012 Yottaa Inc. All Rights Reserved.
  • 8. NumberMash • Removed 18 image requests using dataURI • <img class="coinImage" src="data:image/png;bas e64,iVBORw0KGgo… • Images are instantly displayed for better experience. 8 © 2012 Yottaa Inc. All Rights Reserved.
  • 9. Reduce Page Size • Less to download, better load time • Minify HTML, JavaScript, CSS content • GZIP all JavaScript and CSS content • Image optmization – Remove extra data and meta-data (lossless) – Dynamic downsizing 9 © 2012 Yottaa Inc. All Rights Reserved.
  • 10. HappyFarm • CDN uses reduces response time on asset delivery • Compression used to reduces bandwidth • Override cache behavior of developer to improve client-side cache usage 10 © 2012 Yottaa Inc. All Rights Reserved.
  • 11. Optimize Page Render Time • Edge caching • Place CSS as high as possible • Async script execution – Place scripts as low as possible – Avoid blocking • Parallelize requests – Pre-emptively load assets in parallel before the browser asks for them 11 © 2012 Yottaa Inc. All Rights Reserved.
  • 12. Mocospace • Global Audience – 25 million registered users – 60 million minutes online everyday • Global Developer Network – 2 dozen plus game developers – Hosting their games in unknown locations 12 © 2012 Yottaa Inc. All Rights Reserved.
  • 13. Thank you • Jamie Hall CTO – Mocospace – jamie@corp.mocospace.com • Bob Buffone CTO - Yottaa – bbuffone@yottaa.com • Twitter • @mocospace • @yottaa • Learn More About The Yottaa Solution For Mobile Acceleration here 13 © 2012 Yottaa Inc. All Rights Reserved.

Editor's Notes

  • #3: Mobile browsing is big – 20-25% of Facebook traffic globally.MocoSpace leverages CDN and a multitudeof optimization techniques to boost site performance and provide great UX, for both 1st party content and 3rd party games.Ads are a big part of the revenue story - the better the user experience, the more ads that are served, which is more $$.Mocospace is working with many disconnected developers in &quot;emerging countries”. Yottaa’s service helps take guys who are operating out of a garage in those locations and makes their applications run better.