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

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.

4c3ed917e59156a36212d48155831482?s=128

André Arko

May 05, 2016
Tweet

Transcript

  1. 4.
  2. 5.
  3. 6.
  4. 7.
  5. 18.
  6. 20.
  7. 25.
  8. 29.
  9. 37.

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

    3 4 0 0.1 0.2 0.3 0.4
  10. 38.

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

    3 4 0 0.1 0.2 0.3 0.4
  11. 39.

    Real Life 5 -5 -4 -3 -2 -1 0 1

    2 3 4 0 0.1 0.2 0.3 0.4
  12. 43.

    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
  13. 45.

    10 0 1 2 3 4 5 6 7 8

    9 250 0 50 100 150 200
  14. 47.

    10 0 1 2 3 4 5 6 7 8

    9 250 0 50 100 150 200
  15. 49.

    10 0 1 2 3 4 5 6 7 8

    9 250 0 50 100 150 200
  16. 51.

    10 0 1 2 3 4 5 6 7 8

    9 1000 0 250 500 750
  17. 53.
  18. 55.
  19. 59.
  20. 60.

    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