Gatling : Faites tomber la foudre sur votre serveur ! (Stéphane Landelle)

967 views

Published on

Découvrez pourquoi (ben oui, au fait, pourquoi?) et comment stresser votre serveur: enregistrer un scenario, jouer avec le DSL, envoyer la purée et interpréter les résultats.

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
967
On SlideShare
0
From Embeds
0
Number of Embeds
76
Actions
Shares
0
Downloads
7
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Gatling : Faites tomber la foudre sur votre serveur ! (Stéphane Landelle)

  1. 1. Faites tomber la foudre Stéphane Landelle CTO eBusiness Information @slandelle
  2. 2. Yet Another Stress ToolJMeter, Grinder, Tsung, LoadUI, LoadRunner, Neoload…
  3. 3. Issue #1High Performance http://www.shopfbparts.com/catalog/nal-19201331_w.jpg
  4. 4. 1 user = 1 thread
  5. 5. With 50 threads on a JVM
  6. 6. With 2000 threads on a JVM
  7. 7. Blocking I/O
  8. 8. Threads? Waiting…
  9. 9. … and sleeping
  10. 10. Is that a real problem?
  11. 11. Can you trust your results? JMeter 2.8 perf test, expecting 300 tr/sec
  12. 12. Issue #2Usability
  13. 13. Graphical User Interface Listen, its not that complicated...
  14. 14. Issue #3Maintainability
  15. 15. What was this change about?
  16. 16. Gatling can change all that!http://static.lexpress.fr/medias/15/mai-68_124.jpg, copyright by AFP
  17. 17. Say hello to my little friend… Version 1.3.5 Released November 2012
  18. 18. Be asynchronous, embrace the actor model
  19. 19. Use non-blocking I/O• Async HTTP Client• Netty
  20. 20. Scenario = Code (Scala) = DSL
  21. 21. Easy
  22. 22. Use the rich DSL…Checks • regex / css / xpath / jsonPath • find / findAll / count • is / in / not / whateverStructures • doIf / repeat / during / asLongAs • randomSwitch / roundRobinSwitchError handling • tryMax / exitBlockOnFailFeeders • csv / tsv / jdbc
  23. 23. … or write your own Scala code…
  24. 24. …or use the Recorder
  25. 25. Integrations• Maven Plugin• Maven archetype (run in IDE)• Graphite live reporting
  26. 26. Coming soon…• Jenkins Plugin• Requests Grouping• Websockets, JDBC…• Clustering
  27. 27. Demo
  28. 28. Really efficient?Jmeter perf test run with Gatling, expecting 300 tr/sec
  29. 29. http://gatling-tool.orghttps://github.com/excilys/gatling@GatlingToolhttps://github.com/slandelle@slandelle
  30. 30. Q&A

×