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 will perform.

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? Are the thresholds for auto-scaling set up in a way that makes sense?

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 - simple operations that verify an endpoint functions as well as complex scenarios that throw thousands of requests at your system. 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.

Comments

Comments are closed.

I really enjoyed the presentation on Gatling, I have started doing a lot of performance testing lately and it's one of the few tools I haven't tried out yet. I thought David provided a concise but very thoughtful presentation on load testing with Gatling and his experience learning it from the bottom up.

There are some talks (user group, conferences) that I walk away from excited to use what was discussed in my day to day life. Even fewer are ones that I can actual put into use immediately. Others, provoke that "I wish I had this back when..." moments. Some make even the most alien topic (scala) approachable and convince you that the topic is something you can handle.

David's talk on API load testing Gatling did all of this for me. His slides were clean and concise, his talk polished. He had demos and code that made it feel completely obtainable. Best yet, he had actual production experience to be able to field plenty of questions.

Thanks for great talk! Seriously, you should consider submitting this to some community conferences.