How to do Performance Testing with k6

Ғылым және технология

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 KZread 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 KZread 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

Пікірлер: 20

  • @StarcliffSolutions
    @StarcliffSolutions2 ай бұрын

    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.

  • @adamroach43
    @adamroach433 күн бұрын

    great video, short and simple thanks!

  • @BizanosaTutorials
    @BizanosaTutorials2 күн бұрын

    Exactly what I needed. Was thinking of going with Jmeter, but I'll try this instead.

  • @cashpay50
    @cashpay505 ай бұрын

    So good! It's concise, and has code, only 8 mins!

  • @nicklaspillay7923
    @nicklaspillay7923Ай бұрын

    Jeeeez, this was a fantastic video, thanks so much! *Liked, subscribed!*

  • @liammichaelosullivan1609
    @liammichaelosullivan16093 ай бұрын

    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?

  • @LeonoX97
    @LeonoX97Күн бұрын

    Amazing video!!

  • @divinomatheus6212
    @divinomatheus62126 ай бұрын

    Wow! Amazing video Very didactic, congratulations!

  • @alexhyettdev

    @alexhyettdev

    6 ай бұрын

    Thank you!

  • @Cvpcake_
    @Cvpcake_4 ай бұрын

    Really nice vid! keep it up

  • @saranshc
    @saranshc8 ай бұрын

    Exactly what I was after! Thank you for breaking this down

  • @alexhyettdev

    @alexhyettdev

    8 ай бұрын

    You’re welcome, I am glad it was helpful!

  • @kaneelhadji

    @kaneelhadji

    8 ай бұрын

    Great vidéos. Thanks. How do you compare k6 with gatling ?

  • @AcapellaNutella6
    @AcapellaNutella6Ай бұрын

    that BTTF light...I need that in my life.

  • @EspenHW
    @EspenHW4 ай бұрын

    Good informative video

  • @thisisreallyme3130
    @thisisreallyme31302 ай бұрын

    What make/model is that metal pegboard mounted to your wall? It's a mix of pegboard grid and teardrop holes.

  • @egorhowell
    @egorhowell7 ай бұрын

    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 KZread."

  • @alexhyettdev

    @alexhyettdev

    7 ай бұрын

    Thanks Egor! Check your email 😉

  • @Vladsoykin
    @Vladsoykin2 ай бұрын

    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?

Келесі