Performance test - YaJUG Octobre 2012

3,001 views
2,980 views

Published on

talk at the YaJUG - 31 Octobre 2012

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,001
On SlideShare
0
From Embeds
0
Number of Embeds
2,339
Actions
Shares
0
Downloads
9
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Performance test - YaJUG Octobre 2012

  1. 1. DES TESTS DE PERFORMANCES ... MAIS POURQUOI ? YAJUG - Octobre 2012 Claude Falguière @cfalguiere goo.gl/4mmJQmercredi 7 novembre 12
  2. 2. CLAUDE FALGUIERE Technical architect http://cfalguiere.wordpress.com Duchess France JUG Leader @cfalguiere +Claude Falguieremercredi 7 novembre 12
  3. 3. performance how to persuade your boss design relevant tests be aware of bias prepare for the go livemercredi 7 novembre 12
  4. 4. sprint ou marathon Performance ?mercredi 7 novembre 12
  5. 5. or capacity speed or volumemercredi 7 novembre 12
  6. 6. and availabilitymercredi 7 novembre 12
  7. 7. and efficiencymercredi 7 novembre 12
  8. 8. attente constaté 2s 6s 8s distance between happy and unhappy It can be measured ...mercredi 7 novembre 12
  9. 9. assumed complexity rendering order performance stability ... and it depends on usersmercredi 7 novembre 12
  10. 10. 1 We use the most performing frameworks ! 2 Let’s upgrade the CPU 3 Let’s go to the Cloudmercredi 7 novembre 12
  11. 11. Performance enhancement Faster Amazon : Google : +100 ms +500 ms -1% sales –20% pages seen costs revenuesmercredi 7 novembre 12
  12. 12. Performance enhancement Less calls to the call center costs Less customers in the office savingsmercredi 7 novembre 12
  13. 13. Performance enhancement costs Less resources savingsmercredi 7 novembre 12
  14. 14. revenues More turnover temps Less costs costs Performance enhancementmercredi 7 novembre 12
  15. 15. An endless strugglemercredi 7 novembre 12
  16. 16. Individual Group Crowd Behavior under stressmercredi 7 novembre 12
  17. 17. Individual Group Crowd Slowness Iterations Volume Wait and timeouts «unit» Test breakdownmercredi 7 novembre 12
  18. 18. YSlow Page Speed HTTP Proxymercredi 7 novembre 12
  19. 19. mercredi 7 novembre 12
  20. 20. Individual Group Crowd race condition contention live/dead locks mimic a few concurrent usersmercredi 7 novembre 12
  21. 21. Individu Groupe Foule Capacity bounds Overloading Leaks iso-prod Aging test Load test Failure simulation Peak stress testmercredi 7 novembre 12
  22. 22. Sizing according to the capacitymercredi 7 novembre 12
  23. 23. REQ-1234 : High performance is requiredmercredi 7 novembre 12
  24. 24. Who ? What ? Where ? When ? How ? Why ?mercredi 7 novembre 12
  25. 25. High-Risk Essential What are they doing ? Frequent Frequent Frequent Frequentmercredi 7 novembre 12
  26. 26. mercredi 7 novembre 12
  27. 27. mercredi 7 novembre 12
  28. 28. REQ-5678 : Landpage should show up in less than 600 msmercredi 7 novembre 12
  29. 29. Time Serie and distributionmercredi 7 novembre 12
  30. 30. Unaware of Striking Rare 90% des relevés Moyenne 1,2s sont < 3,5s Quantile 90% = 3,5smercredi 7 novembre 12
  31. 31. Some bad response time Unstable response time Bimodal !? ...mercredi 7 novembre 12
  32. 32. Goals and drivers Indicators Scenarios Volumes Datasets Types of test and duration Target platformmercredi 7 novembre 12
  33. 33. representativeness Garbage in - Garbage outmercredi 7 novembre 12
  34. 34. ias bmercredi 7 novembre 12
  35. 35. Find biases to degrade the result Find biases to improve the resultmercredi 7 novembre 12
  36. 36. volumes scenario, data, search phrases caches test duration and rate ignore errors ignore uncommon use cases Simplify Arrangemercredi 7 novembre 12
  37. 37. Which show better results ? A Bmercredi 7 novembre 12
  38. 38. Which shows more errors ? A Bmercredi 7 novembre 12
  39. 39. Anticipate Iso-prod Iso-prod not required algorithms load test (capacity) contentions response time robustness reliability on load scalability aging failure simulationmercredi 7 novembre 12
  40. 40. Design for failuremercredi 7 novembre 12
  41. 41. Test to learnmercredi 7 novembre 12
  42. 42. Prepare monitoringmercredi 7 novembre 12
  43. 43. Thank you Claude Falguière "Reality is merely an illusion, @cfalguiere albeit a very persistent one. " goo.gl/4mmJQ - Albert Einsteinmercredi 7 novembre 12

×