Breaking the 1000ms Time to Glass Mobile Barrier
Channel:InfoQ · Length:45:49 · Published:2013-03-26 · Views:103742
Summary
Ilya Grigorik of Google's Make the Web Fast team explains how to build a mobile site that appears on screen within one second. He covers the network and rendering constraints on mobile.
Why HN recommends it
It is cited for the cost of network round trips and mobile latency limits.
Web development · Software performance & optimization · Networking & internet infrastructure
Subtitles (excerpt)
[Music] how many people here build mobile apps or mobile websites yeah I hear this mobile thing is kind of a big thing um so what I want to talk about today is building faster mobile websites and faster is kind of an ambiguous term right we could share a lot of tips we could talk about a lot of techniques so what I thought uh we would do here is actually take uh kind of put some constraints on the problem the first constraint is maybe even as a thought experiment what would it take to build a mobile website to render in one sec that renders in one second right that's first um and and second we want we want it to be actually visible within one second so so by setting that constraint we can actually work backwards like in instead of just enumerating all the techniques for how we can make our sites fast we can actually start looking from the ground up like what how long does a network take how long does a browser take and what what does that uh give you and what kind of leway do you have so we're going to look at uh Network performance we're going to look at how the browser renders the page and then we're going to try and piece it all back together so let's get right in first of all uh before we even get into the technical uh part of it part of this presentation I
On Hacker News
As I understand it, a round-trip request on a mobile network can be very expensive [0]. One of the ways that AMP enables sites to load instantly-upon-click is by starting those requests in the background. (Then, when the user clicks, it's just a matter of bringing the IFRAME into view - no network involved.) Loading a traditional site can have side effects (e.g. reporting a view to an advertiser'… — bsimpson, 2018-01
> "What about load times and performance?!?!" If you're rendering everything on the client like that, how many HTTP requests are you making, other than the initial 3 (stylesheet + javascript + html document)? I'm especially focusing on mobile performance, here. On 3G you have 200-2500ms latency on the control plane, 200ms latency for dns lookup, 200ms latency on establishishing a tcp connection, … — warfangle, 2014-06
I don't think this is the right approach. I realize that the principle is fundamentally the same with SOPA protests (depriving users of content to highlight the danger of this passing), but there's a more salient argument that you could make here if you really wanted. Why not implement a loading bar that actually progressed slowly and then put a brief explanation underneath the loading bar descri… — alialkhatib, 2014-05
Related videos
- How Python was Shaped by leaky Internals, Armin Ronacher, Flask framework · Видео с мероприятий {speach! · 49:55
- What the heck is the event loop anyway? | Philip Roberts | JSConf EU · JSConf · 26:52
- Rich Harris - Rethinking reactivity · You Gotta Love Frontend · 36:45
- CppCon 2015: Andrei Alexandrescu “std::allocator...” · CppCon · 1:12:27
- Preventing the Collapse of Civilization / Jonathan Blow (Thekla, Inc) · DevGAMM · 1:02:41
- "Performance Matters" by Emery Berger · Strange Loop Conference · 42:15
- Crockford on JavaScript - Volume 1: The Early Years · YUI Library · 1:42:08
- RailsConf 2016 - Turbolinks 5: I Can’t Believe It’s Not Native! by Sam Stephenson · Confreaks · 37:37
- The Thirty Million Line Problem · Molly Rocket · 1:48:55
- CppCon 2017: Matt Kulukundis “Designing a Fast, Efficient, Cache-friendly Hash Table, Step by Step” · CppCon · 59:33
- Harder Drive: Hard drives we didn't want or need · suckerpinch · 36:46
- Erlang Factory 2014 - That's 'Billion' with a 'B': Scaling to the Next Level at WhatsApp · Erlang Solutions · 49:15
- JavaScript: The Good Parts · Google TechTalks · 1:03:47
- How Crash Bandicoot Hacked The Original Playstation | War Stories | Ars Technica · Ars Technica · 31:37
- "How NOT to Measure Latency" by Gil Tene · Strange Loop Conference · 42:59
- Refterm Lecture Part 1 - Philosophies of Optimization · Molly Rocket · 18:41