How to do Performance Testing with k6

  Рет қаралды 22,140

Alex Hyett

Alex Hyett

Күн бұрын

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 KZbin 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 KZbin 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
@StarcliffSolutions 2 ай бұрын
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.
@cashpay50
@cashpay50 5 ай бұрын
So good! It's concise, and has code, only 8 mins!
@liammichaelosullivan1609
@liammichaelosullivan1609 4 ай бұрын
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?
@nicklaspillay7923
@nicklaspillay7923 Ай бұрын
Jeeeez, this was a fantastic video, thanks so much! *Liked, subscribed!*
@LeonoX97
@LeonoX97 12 күн бұрын
Amazing video!!
@adamroach43
@adamroach43 14 күн бұрын
great video, short and simple thanks!
@Cvpcake_
@Cvpcake_ 5 ай бұрын
Really nice vid! keep it up
@BizanosaTutorials
@BizanosaTutorials 14 күн бұрын
Exactly what I needed. Was thinking of going with Jmeter, but I'll try this instead.
@divinomatheus6212
@divinomatheus6212 6 ай бұрын
Wow! Amazing video Very didactic, congratulations!
@alexhyettdev
@alexhyettdev 6 ай бұрын
Thank you!
@saranshc
@saranshc 8 ай бұрын
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
@EspenHW 5 ай бұрын
Good informative video
@thisisreallyme3130
@thisisreallyme3130 2 ай бұрын
What make/model is that metal pegboard mounted to your wall? It's a mix of pegboard grid and teardrop holes.
@egorhowell
@egorhowell 8 ай бұрын
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 KZbin."
@alexhyettdev
@alexhyettdev 8 ай бұрын
Thanks Egor! Check your email 😉
@Vladsoykin
@Vladsoykin 2 ай бұрын
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?
Grafana k6 for Beginners: Why observability needs testing
12:54
K6 VS JMeter for best Performance Testing Tool
5:21
The Test Lead
Рет қаралды 6 М.
small vs big hoop #tiktok
00:12
Анастасия Тарасова
Рет қаралды 16 МЛН
Children deceived dad #comedy
00:19
yuzvikii_family
Рет қаралды 4,7 МЛН
МАМА И STANDOFF 2 😳 !FAKE GUN! #shorts
00:34
INNA SERG
Рет қаралды 2,7 МЛН
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 192 М.
Best Coding Habits to Adopt Now (that I wish I did earlier)
4:49
Learn k6 Series - E3 - Data Parameterization in k6
7:31
QAInsights
Рет қаралды 11 М.
Frontend Load Testing | K6 Performance Testing for Frontend (Part 3)
27:40
Event-Driven Architecture: Explained in 7 Minutes!
7:18
Alex Hyett
Рет қаралды 85 М.
Performance testing made easy - Installation
3:21
Rester Test
Рет қаралды 199
Secret Wireless charger 😱 #shorts
0:28
Mr DegrEE
Рет қаралды 1,3 МЛН
Телефон в воде 🤯
0:28
FATA MORGANA
Рет қаралды 1,2 МЛН