Alex Hyett
Alex Hyett
  • 62
  • 1 217 834
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-testing/
🗺️ Backend Developer Roadmap: www.alexhyett.com/backend-developer-roadmap/
Subscribe for more content: youtube.com/@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 - www.linkedin.com/in/alexhyett/
🧑🏻‍💻 Dev.to - dev.to/alexhyettdev
🧑‍💻 WHO AM I
I’m Alex, a Software Developer and UA-cam 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 UA-cam 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/aff_r1613hhr/external?affcode=441520_ijj9itwx
The Complete Junior to Senior Web Developer Roadmap - academy.zerotomastery.io/a/aff_hpwn5xy9/external?affcode=441520_ijj9itwx
C#/.NET Bootcamp: The Fundamentals: academy.zerotomastery.io/a/aff_1478fv7q/external?affcode=441520_ijj9itwx
Complete SQL + Databases Bootcamp - academy.zerotomastery.io/a/aff_fd1vc7n6/external?affcode=441520_ijj9itwx
📚 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
Переглядів: 17 553

Відео

Idempotency - What it is and How to Implement it
Переглядів 9 тис.7 місяців тому
It is important to understand idempotency if you are going to be building APIs that are open to the public. Idempotency is especially useful when you have operations that must only occur once like making in a payment. In this video I give an overview of what idempotency is, why we use it and how to implement it. ☕️ I don’t accept paid sponsorships and I have turned off mid-video ads. You’re wel...
5 Design Patterns That Are ACTUALLY Used By Developers
Переглядів 155 тис.8 місяців тому
Design patterns allow us to use tested ways for solving problems but there are 23 of them in total and it can be difficult to know which ones to pay attention to. In this video I cover what exactly design patterns are and the top 5 that I have used the most in my career. ☕️ I don’t accept paid sponsorships and I have turned off mid-video ads. You’re welcome! If you would like to support my chan...
CI/CD Pipeline Using GitHub Actions: Automate Software Delivery (for free)
Переглядів 7 тис.9 місяців тому
Setting up a CI/CD pipeline for your project allows you to run all your tests and deploy your code without needing to lift a finger. In this video, I cover the difference between Continuous Integration, Continuous Delivery and Continuous Deployment as well as show you how to set up a working CI/CD Pipeline in GitHub Actions. ☕️ I don’t accept paid sponsorships and I have turned off mid-video ad...
How to Build a Project That Will ACTUALLY Get You a Job
Переглядів 8 тис.10 місяців тому
If you are trying to get a job as a software engineer but lack a degree and experience then you need a way to show off your skills. The best way to do this is by building a project but not all projects are created equal. In this video, I go over a project I recently found on the internet which perfectly showcases what you should be doing in order to stand out and show off your abilities. 🚕 Uber...
SOLID Principles: Do You Really Understand Them?
Переглядів 111 тис.11 місяців тому
People mention SOLID everywhere but very few do a good job of explaining it. I am hoping to put an end to that in this video so you can once and for all understand all the SOLID principles. Learn the SOLID principles in depth in my new course: dometrain.com/course/from-zero-to-hero-solid-principles-for-csharp-developers/ ☕️ I don’t accept paid sponsorships and I have turned off mid-video ads. Y...
Knowledge Management for Software Developers
Переглядів 7 тис.11 місяців тому
As developers, we are learning all the time. It is therefore important to have the right system in place in order to remember everything. This is where knowledge management systems come in. In this video, I take a look at the top 5 and which one I think you should use. ☕️ I don’t accept paid sponsorships and I have turned off mid-video ads. You’re welcome! If you would like to support my channe...
Should you be blogging as a software developer? (and how much I earn from mine)
Переглядів 4,2 тис.11 місяців тому
I have been blogging for 8 years now as a developer but is it worth your time? Will a blog help you get a job as a software developer and earn you some extra money on the side? ☕️ 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: ...
This is a Better Way to Understand Recursion
Переглядів 21 тис.Рік тому
People often explain recursion in the form of an infinite loop. Recursion doesn't work that way; it is actually a lot like the movie Inception, and in this video, I will show you how! ☕️ 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...
5 Uncomfortable Truths About Software Engineering
Переглядів 4,6 тис.Рік тому
If you want to become a software developer, then you need to know what it is really like. In this video, I cover 5 uncomfortable truths that companies and other developers aren't telling you about software engineering. ☕️ 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 ne...
Domain Driven Design: What You Need To Know
Переглядів 87 тис.Рік тому
When you are trying to design software, one of the best ways to do this is to mimic how the business is structured in the real world. This makes talking to the business easier as everyone is on the same page when it comes to discussing business processes. ☕️ 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.c...
10 Questions You MUST Ask in Your Next Software Engineering Interview
Переглядів 2,3 тис.Рік тому
At the end of every interview, you get asked if you have any questions, but a lot of people don't know what to ask. In this video, I cover 10 questions to ask at the end of your software engineering interview. ☕️ 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 ...
Event-Driven Architecture: Explained in 7 Minutes!
Переглядів 74 тис.Рік тому
Event-driven architecture is an essential architectural pattern used with microservices. In this video, I cover what it is, when you should use it and the pros and cons. ☕️ 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: newslet...
AI Can’t Do This - SECRET to being a SUCCESSFUL Software Engineer
Переглядів 1,2 тис.Рік тому
Are you a junior developer worried about the advancement of AI in coding? While it's true that AI can write code faster and more efficiently than humans, there's still one thing it can't do. Find out in this video how you can future-proof yourself against being replaced by AI. ☕️ I don’t accept paid sponsorships and I have turned off mid-video ads. You’re welcome! If you would like to support m...
Backend Developer Roadmap - Everything you need to know in 2023
Переглядів 139 тис.Рік тому
Backend Developer Roadmap - Everything you need to know in 2023
Best Coding Habits to Adopt Now (that I wish I did earlier)
Переглядів 6 тис.Рік тому
Best Coding Habits to Adopt Now (that I wish I did earlier)
Monolithic vs Microservice Architecture: Which To Use and When?
Переглядів 57 тис.Рік тому
Monolithic vs Microservice Architecture: Which To Use and When?
Top 5 Programming Languages to Learn in 2023 (to Get a Job)
Переглядів 6 тис.Рік тому
Top 5 Programming Languages to Learn in 2023 (to Get a Job)
5 Types of Testing Software Every Developer Needs to Know!
Переглядів 41 тис.Рік тому
5 Types of Testing Software Every Developer Needs to Know!
Hexagonal Architecture: What You Need To Know - Simple Explanation
Переглядів 62 тис.Рік тому
Hexagonal Architecture: What You Need To Know - Simple Explanation
#1 Biggest Regret as a Software Engineer
Переглядів 1,3 тис.Рік тому
#1 Biggest Regret as a Software Engineer
CRUD Operations are Everywhere: DB and REST API Examples
Переглядів 3,3 тис.Рік тому
CRUD Operations are Everywhere: DB and REST API Examples
How to Schedule Tweets with Notion and n8n (for free)
Переглядів 2,7 тис.Рік тому
How to Schedule Tweets with Notion and n8n (for free)
Why You Struggle to Learn to Code (and How To Fix It)
Переглядів 766Рік тому
Why You Struggle to Learn to Code (and How To Fix It)
5 Books That Changed My Life
Переглядів 1,4 тис.Рік тому
5 Books That Changed My Life
How I would learn to code in 2023 (if I could start over)
Переглядів 1,1 тис.Рік тому
How I would learn to code in 2023 (if I could start over)
Finally Understand Regular Expressions - In Just 7 Minutes!
Переглядів 1,5 тис.Рік тому
Finally Understand Regular Expressions - In Just 7 Minutes!
How I Take (and Organise) My Notes As a Software Engineer
Переглядів 16 тис.Рік тому
How I Take (and Organise) My Notes As a Software Engineer
What is Big O Notation, and Why You Should Care
Переглядів 2,2 тис.Рік тому
What is Big O Notation, and Why You Should Care
How I deal with Imposter Syndrome as a Software Engineer
Переглядів 1,1 тис.Рік тому
How I deal with Imposter Syndrome as a Software Engineer

КОМЕНТАРІ

  • @fuadadio
    @fuadadio 9 годин тому

    Thanks for the video. Your explanation is so clear and your animations are so helpful. The video is so clean. I can imagine the amount of work that goes into these videos. Thank you, Alex.

  • @Jelvix
    @Jelvix 18 годин тому

    Hi! Thanks for this video! It's incredibly helpful, especially for those who are just beginning their journey. It's great that you are sharing your knowledges. Our QA team also created good video for QA and future QA - we collected the software testing trends for 2024

  • @llott88
    @llott88 23 години тому

    06:37 "The code is more what you'd call 'guidelines' than actual rules." - Captain Barbossa, Pirates of the Caribbean

  • @RahulGupta-lq3px
    @RahulGupta-lq3px 2 дні тому

    Better than any video I've seen on the Internet on this topic. Useful for both client and testers. Great Work!

  • @Voy2378
    @Voy2378 2 дні тому

    I prefer to remember decorator patern as ecorato pattern

  • @KaznarahAndrinarivo
    @KaznarahAndrinarivo 3 дні тому

    Thanks 🙏

  • @AyeletKazantsev
    @AyeletKazantsev 3 дні тому

    Great video! Thanks

  • @drondiwe
    @drondiwe 4 дні тому

    hate when I'm being asked like "have you heard of X architecture" and I never heard of it but it turns out that I was using it a lot and I just was asked about its fancy name

  • @jumbo999614
    @jumbo999614 4 дні тому

    Please tech me this code Below is part of code that someone wrote for making dot matrix led 8x8 text scrolling byte bitmap[8][7]; int numZones = sizeof(bitmap) / 8; // One Zone refers to one 8 x 8 Matrix ( Group of 8 columns) int maxZoneIndex = numZones - 1; int numCols = numZones * 8; // Converts row and colum to bitmap bit and turn it off/on void Plot(int col, int row, bool isOn) { int zone = col / 8; int colBitIndex = x % 8; byte colBit = 1 << colBitIndex; if (isOn) bitmap[row][zone] = bitmap[y][zone] | colBit; else bitmap[row][zone] = bitmap[y][zone] & (~colBit); }

  • @AcapellaNutella6
    @AcapellaNutella6 4 дні тому

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

  • @KoolakStudio
    @KoolakStudio 5 днів тому

    very nice ! thanks for sharing

  • @angelitocasasis5947
    @angelitocasasis5947 5 днів тому

    damn man, you should've been my professor in college. now I'm gonna your student on every vid. cheers!

  • @soufianeodf9125
    @soufianeodf9125 5 днів тому

    But you didn’t talk about the difference between a version and a release, because you could create a new version without creating a release, can you give an explanation about this case please ? Thank you

  • @00l4
    @00l4 6 днів тому

    Thanks my friend, helped me to build my own version.

  • @Dipesh_Sol
    @Dipesh_Sol 7 днів тому

    God Damn It! Now I want all those cakes. Brings back memories of eating all of those in different parts of the world with friends and family Two mnemonics to remember: "Create Structures and Behave: Single Decorated Faces Observe Strategies" Create Structures and Behave: - Create reminds you of Creational patterns. - Structures points to Structural patterns. - Behave refers to Behavioral patterns. Single Decorated Faces Observe Strategies: - Single stands for Singleton (Creational). - Decorated for Decorator (Structural). - Faces for Facade (Structural). - Observe for Observer (Behavioral). - Strategies for Strategy (Behavioral). I like something more fun, so here we go "Crazy Squirrels Build Dens, Often Strategically" - Crazy hints at Creational patterns. - Squirrels Build Dens points to the Structural patterns. - Often Strategically suggests Behavioral patterns. Within each category: - Single (from Squirrels) for Singleton (Creational). - Build (Beginning of Build) for Decorator and Dens (D of Dens) for Facade (both Structural). - Often for Observer and Strategically for Strategy (both Behavioral).

  • @craftedbysrs
    @craftedbysrs 7 днів тому

    You are an Amazing tutor!

  • @TurboBorsuk
    @TurboBorsuk 7 днів тому

    bringing alcohol to the party is a design pattern

  • @dumebiubogu3445
    @dumebiubogu3445 7 днів тому

    Thanks for the video. Not sure I am understanding the point of the 2's compliment. Does that give us the answer of ~5 ? So ~5 is -6?

  • @DoctorMoax
    @DoctorMoax 7 днів тому

    not exactly a beginner friendly content. Other's have done a better explanation

  • @vamankamath6329
    @vamankamath6329 8 днів тому

    Outstanding clarity.

  • @nicklaspillay7923
    @nicklaspillay7923 8 днів тому

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

  • @esteban-alvino
    @esteban-alvino 9 днів тому

    Hello Alex, thanks for sharing your knowledge with the world. keep up with the great work.

  • @gabrielnzete8913
    @gabrielnzete8913 9 днів тому

    This is simply fantastic, many thanks sir

  • @gabrielnzete8913
    @gabrielnzete8913 9 днів тому

    Fantastically explained

  • @ognjenvojnovic9778
    @ognjenvojnovic9778 10 днів тому

    Hi Alex. This was brilliant, and in only 7 minutes. Thanks man

  • @Daniel3Levi
    @Daniel3Levi 10 днів тому

    Thank you ! amazing video

  • @deadvirgin428
    @deadvirgin428 10 днів тому

    How about we drop the stupid abstraction veil? If people have trouble understanding recursion, it isn't because they need an inception analogy (and no, recursion is not like inception), people have trouble understanding recursion because "educators" like you just won't explain what it *actually* is. They would never have any trouble to begin with if they were actually taught what a function stack frame is, "recursion" is just stacking function stack frames of the same kind, but isn't it absolutely ridiculous that a PROGRAMMER wouldn't know how something as fundamental as a function works? Why wouldn't you teach that instead?

  • @templelomotey5414
    @templelomotey5414 10 днів тому

    this is really worth hearing. thank you.

  • @IevgeniiIegorushkov
    @IevgeniiIegorushkov 11 днів тому

    Проблема у тому що країною керують бабуїни.

  • @GiPa98
    @GiPa98 12 днів тому

    Thank you for the video!

  • @sonicjoy2002
    @sonicjoy2002 12 днів тому

    Used 80% of those, most tools you can pickup quickly with the reference on the side but it certainly took me many years to appreciate the design patterns.

  • @aamirsohailkmas
    @aamirsohailkmas 12 днів тому

    3:10 My brain is not braining at this point

  • @the3dcapybara
    @the3dcapybara 12 днів тому

    Hello, I got a question, what if company want to self-host or use vps instead of AWS?

  • @user-ch9pw9qi9u
    @user-ch9pw9qi9u 13 днів тому

    Roadmap to dipression

  • @RYANCARNEY-dc2qe
    @RYANCARNEY-dc2qe 13 днів тому

    This video actually answered all my questions about how the stack and heap work together. Great explanation!

  • @pauldesert2541
    @pauldesert2541 14 днів тому

    you're definitely a frontend development hater and know nothing about the intricacies of frontend in terms of testing, fast loading pages, UI/UX, animations, creating and testing complex components, data formatting and display, microfrontends, frameworks, etc. Hell, there's also a lot of business logic in the frontend. I feel like backend development is so overrated and frontend development is so looked down upon. you can chew on your click rate example.

  • @cruzchaps3662
    @cruzchaps3662 16 днів тому

    Bro gave us the inception example and i thought he was going to explain it differently, then boom fibo is back

  • @thankzcomputer
    @thankzcomputer 17 днів тому

    thanks dude

  • @MrOvergaming
    @MrOvergaming 17 днів тому

    I clicked on the like button before strarting the video!

  • @taylorvicente7325
    @taylorvicente7325 17 днів тому

    You explained in 8 minutes what my CS professor couldn’t explain in an hour! Great video!

  • @WorldofTechnology1160
    @WorldofTechnology1160 18 днів тому

    I like Backend Development and I am working in Java and Spring boot.

    • @Content_FTW
      @Content_FTW 9 днів тому

      how'd you get into it? like how'd you start if you dont mind me asking

  • @coachobispersonalworkoutti2223
    @coachobispersonalworkoutti2223 18 днів тому

    jUST ONE QUESTION ARE THESE THE LEVELS OF TESTING OR TYPES OF TESTING

  • @agun214
    @agun214 19 днів тому

    hell yeah. idk how you did it but that finally made sense. i had to have heard the stack of books analogy before, but this is probably the first time seeing it played out with actual books imma have to watch this again

  • @selbymdaka1260
    @selbymdaka1260 19 днів тому

    Can't believed I watched 10 minutes plus of videos trying to understand this only to get it on a 4 minutes 3 seconds video😂.

  • @tom111_14
    @tom111_14 19 днів тому

    clear and amazing ! thanks a lot Sir !

  • @kcnl2522
    @kcnl2522 19 днів тому

    Bro stop with the fibonnaci example, its too easy. It wont help me understand how to get the height of a node in a tree. Surprisingly i can code it but i dont understand it.

  • @leezhenjian7451
    @leezhenjian7451 19 днів тому

    Beginner here, thank you for dumbing it down for me to understand!

  • @NaftuliSinger
    @NaftuliSinger 20 днів тому

    Great straight to the point video! Thank you!

  • @cannabisanomaly
    @cannabisanomaly 20 днів тому

    anyone else been going through life pronouncing this is "eye-dim-puh-ten-see"?

  • @Sebastian-zs8cp
    @Sebastian-zs8cp 20 днів тому

    Will it be possible to make a movie about the complete process of a green meadow project?