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

Don't Forget The Network: Your App Is Slower Th...

Don't Forget The Network: Your App Is Slower Than You Think (RailsConf 2016)

When you look at your response times, satisfied that they are "fast enough", you're forgetting an important thing: your users are on the other side of a network connection, and their browser has to process and render the data that you sent so quickly. This talk examines some often overlooked parts of web applications that can destroy your user experience even when your response times seem fantastic. We'll talk about networks, routing, client and server-side VMs, and how to measure and mitigate their issues.

André Arko

May 05, 2016
Tweet

More Decks by André Arko

Other Decks in Technology

Transcript

  1. “Normal” 5 -5 -4 -3 -2 -1 0 1 2

    3 4 0 0.1 0.2 0.3 0.4
  2. “Normal” 5 -5 -4 -3 -2 -1 0 1 2

    3 4 0 0.1 0.2 0.3 0.4
  3. Real Life 5 -5 -4 -3 -2 -1 0 1

    2 3 4 0 0.1 0.2 0.3 0.4
  4. The problem with averages: If you put one hand in

    a bucket of ice and the other in a bucket of hot coals, on average, you’re comfortable. Erik Michaels-Ober @sferik
  5. 10 0 1 2 3 4 5 6 7 8

    9 250 0 50 100 150 200
  6. 10 0 1 2 3 4 5 6 7 8

    9 250 0 50 100 150 200
  7. 10 0 1 2 3 4 5 6 7 8

    9 250 0 50 100 150 200
  8. 10 0 1 2 3 4 5 6 7 8

    9 1000 0 250 500 750
  9. Average of X Average of Y Variance of X Variance

    of Y Correlation of X and Y Linear regression All four data sets have the same