Getting ready for scale: Load testing your API with Gatling

David Stanley (16.Aug.2018 at 16:00, 50 min)
Talk at Southeast PHP (English - US)

Rating: 5 of 5

Well, today is the day. You've spent the last 4 months working on an API and today is the day it goes live. From unit tests to integration tests, you've put in the work and are confident the system is correct and ready.

But... Are you sure? You haven't tested this under load yet. At what level of traffic will performance begin to degrade? What are the most expensive operations? When this thing breaks, how will it break? And what will break first?

This is where Gatling (https://gatling.io) can help out. In this talk, I'll cover the basic use of this tool and how you can integrate it into a PHP project. From filling out forms to uploading files, we'll cover the basic scenarios that can give you the confidence to deploy and run an app at scale. Additionally, I'll demonstrate how to vary traffic levels and request patterns to approximate actual production usage. Finally, we'll use New Relic to gain performance insights while the test scenario is running

Who are you?

Claim talk

Talk claims have been moved to the new Joind.in site.

Please login to the new site to claim your talk

Want to comment on this talk? Log in or create a new account or comment anonymously

Write a comment

 
Please note: you are not logged in and will be posting anonymously!
= nine minus eight

Comments

Rating: 5 of 5

16.Aug.2018 at 16:51 by Ben Edmunds (18 comments) via Web2 LIVE

Great talk with a lot of real world examples. Definitely looking forward to giving this a try.

Rating: 5 of 5

17.Aug.2018 at 09:07 by Jessica Mauerhan (44 comments) via Web2 LIVE

Very cool examples of a performance testing tool, I would be nervous to try something like this in a new language, but David explained it very well.

Rating: 5 of 5

17.Aug.2018 at 11:30 by Bill Condo (38 comments) via Web2 LIVE

I came away from the talk with a directly useful task list to load test my APIs. Exactly what I was looking for. I'd love to see more presentations from David!

© Joind.in 2018