How to do Performance Testing with k6

Поделиться
HTML-код
  • Опубликовано: 2 июн 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 RUclips 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 RUclips 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
  • НаукаНаука

Комментарии • 17

  • @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.

  • @liammichaelosullivan1609
    @liammichaelosullivan1609 3 месяца назад +3

    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?

  • @cashpay50
    @cashpay50 4 месяца назад +2

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

  • @nicklaspillay7923
    @nicklaspillay7923 24 дня назад

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

  • @Cvpcake_
    @Cvpcake_ 4 месяца назад

    Really nice vid! keep it up

  • @AcapellaNutella6
    @AcapellaNutella6 20 дней назад

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

  • @divinomatheus6212
    @divinomatheus6212 5 месяцев назад +1

    Wow! Amazing video
    Very didactic, congratulations!

  • @thisisreallyme3130
    @thisisreallyme3130 Месяц назад +1

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

  • @saranshc
    @saranshc 8 месяцев назад +2

    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 ?

  • @EspenHW
    @EspenHW 4 месяца назад

    Good informative video

  • @egorhowell
    @egorhowell 7 месяцев назад +3

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

    • @alexhyettdev
      @alexhyettdev  7 месяцев назад

      Thanks Egor! Check your email 😉

  • @Vladsoykin
    @Vladsoykin 2 месяца назад +1

    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?