How to do Performance Testing with k6
Vložit
- čas přidán 3. 07. 2024
- Performance testing is an important part of getting your application production ready. You don't want to wait until you have a sudden spike in traffic to realise that your application can't handle the load. In this video I cover the difference types of performance testing and how to do them using k6.
☕️ I don’t accept paid sponsorships and I have turned off mid-video ads. You’re welcome! If you would like to support my channel see: ko-fi.com/alexhyett
📨 Join my free weekly newsletter for advice, technology and more: newsletter.alexhyett.com
📝 Video Transcript: www.alexhyett.com/performance...
🗺️ Backend Developer Roadmap: www.alexhyett.com/backend-dev...
Subscribe for more content: / @alexhyettdev
⏳ CHAPTERS
00:00 - Introduction
00:55 - Installing k6
01:21 - Simple k6 test
02:30 - Test API
02:49 - Support me on Patreon
03:03 - Pick the right environment
03:48 - Load Test
06:41 - Stress Test
07:49 - Spike Test
08:35 - Soak Test
09:33 - Check out k6 docs
🔗 MY KEY LINKS
🌍 Blog - www.alexhyett.com/
🐘 Mastodon - social.alexhyett.com/@alex
💼 LinkedIn - / alexhyett
🧑🏻💻 Dev.to - dev.to/alexhyettdev
🧑💻 WHO AM I
I’m Alex, a Software Developer and CZcams working in the UK. I make videos about software development to help developers with the skills they need to be senior developers. As well as this CZcams Channel, I also write articles on my website (alexhyett.com) as well as write a regular newsletter that contains some thoughts to help aspiring developers.
🎓 RECOMMENDED COURSES (Use code FRIENDS10 for 10% off)
The Complete Web Developer Course - academy.zerotomastery.io/a/af...
The Complete Junior to Senior Web Developer Roadmap - academy.zerotomastery.io/a/af...
C#/.NET Bootcamp: The Fundamentals: academy.zerotomastery.io/a/af...
Complete SQL + Databases Bootcamp - academy.zerotomastery.io/a/af...
📚 RECOMMENDED BOOKS
Clean Code - geni.us/5AEwj2
Design Patterns - geni.us/5ncUt
Developer Hegemony - geni.us/lAXy
Pragmatic Programmer - geni.us/GfNj9
Data Structures and Algorithms Made Easy - geni.us/sqg6kJ
Refactoring - geni.us/ufAP0mE
Pragmatic Thinking and Learning - geni.us/x81A
‼️ DISCLAIMERS
Some of the links in this description are affiliate links, for which I get a small commission, at no extra cost to you 🙂. I appreciate you supporting my channel so I can continue providing you with free software development content!
#coding #programming #developer - Věda a technologie
Great content!
I expect that your channel will explode once programmers realize the succint value that you are providing.
This is the 3rd of your videos that I've seen and I'm a fan.
So good! It's concise, and has code, only 8 mins!
Jeeeez, this was a fantastic video, thanks so much! *Liked, subscribed!*
great video, short and simple thanks!
Really nice vid! keep it up
Amazing video!!
Wow! Amazing video
Very didactic, congratulations!
Thank you!
Thanks for these Alex! I'm a senior dev, but these are handy to find new tools or revise concepts and keep principles and patterns fresh in mind. One suggestion- please leave your titles, code examples, schematics and other and other graphics onscreen for longer, if possible?
Exactly what I was after! Thank you for breaking this down
You’re welcome, I am glad it was helpful!
Great vidéos. Thanks. How do you compare k6 with gatling ?
Exactly what I needed. Was thinking of going with Jmeter, but I'll try this instead.
Good informative video
that BTTF light...I need that in my life.
What make/model is that metal pegboard mounted to your wall? It's a mix of pegboard grid and teardrop holes.
Awesome video Alex!
I am not sure if you saw, but I sent you an email as I am inspired by your journey!
"Just wanted to say I am loving your journey and how you are bridging from professional engineer to content creator. I really like the colour scheme as well, the purple is a great touch!
I am reaching out as I would really love some advice and pick your brain on everything you are doing.
I am on a similar journey, but like a few years behind! I am a data scientist but trying to do content on medium, substack and CZcams."
Thanks Egor! Check your email 😉
7:06 If you expect that your system can handle 1000 request, what the “stress” it might experience at the level of 200 and later at 800 threads?