Is Your API ACTUALLY Ready for User Traffic?

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ •

  • @CodingWithLewis
    @CodingWithLewis 4 місяці тому +161

    Awesome video. Loved the editing and easy explanations.
    You missed the type of testing that I do though, which is "no testing". Hasn't worked well for me so far...

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому +19

      I'll make sure to cover the highly regarded "no testing" pattern; thanks for the suggestion 🤣
      Jokes aside, thank you for being an amazing inspiration and taking the time to leave such a nice comment.

    • @--Nath--
      @--Nath-- 4 місяці тому +5

      "Production testing" for the win. The only true testing that will catch those pesky problems.

  • @s-code-b
    @s-code-b 4 місяці тому +104

    It'd be great for all junior devs to have someone like him to show them the ropes, to apprentice.

    • @peoplethesedaysberetarded
      @peoplethesedaysberetarded 4 місяці тому

      If you don’t where you work, your company isn’t serious about building software or building engineers.

    • @A49343
      @A49343 2 місяці тому +1

      Junior dev here and having content like this online really helps. You don't always get support so these videos help so much for growing purposes

  • @mbclass1234
    @mbclass1234 21 день тому

    Subscribed immediately. Finally some channels that teaches more than some random JS frameworks but actual tools for production.

  • @pathakvivek7865
    @pathakvivek7865 4 місяці тому +52

    By far the best channel for nestjs and overall backend tech.

  • @nclsDesign
    @nclsDesign 4 місяці тому +10

    Now this is exactly what I wish these videos to be like. Interesting and important topic, explained so easily that my dad could understand it by usign graps and no fancy words without explaining them and showing code examples.
    10/10 video!

  • @sivanagarjuna4215
    @sivanagarjuna4215 2 місяці тому +1

    One of the best video I saw related to API dev.

  • @JayStiqs
    @JayStiqs 4 місяці тому +1

    Your thumbnail is fire!!!!!! Got me interested. And I've learnt something new too. Subscribed!

  • @mcstephen
    @mcstephen 4 місяці тому +5

    Bruva just came and upload a video on a topic I never knew I needed. wow, just wow.
    Thanks a lot (you just earn a subscriber).

  • @kojo_drex
    @kojo_drex 3 місяці тому +2

    As a test engineer, I really enjoyed it. And k6 seems easier to get started with compared with Gatling and JMeter.

  • @zeteya
    @zeteya 3 місяці тому

    Very clear, concise and to the point. Great job on the video! Keep it up.

  • @cissedesign6358
    @cissedesign6358 4 місяці тому +18

    How long have you been on UA-cam that I haven't fallen on your videos but only now, I like how well explained the topic is. Thank you 🙏🏽

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому +6

      Thank you for the kind words 💜
      I started beginning of this year, I'm still new to this. Comments like yours are giving me the motivation to keep going, really glad I can help

  • @pratyakshgupta4787
    @pratyakshgupta4787 4 місяці тому

    A quality video!! hope to receive much more quality content from this channel.

  • @devmartin001
    @devmartin001 4 місяці тому +1

    I love the concepts taught on this video. Thanks man

  • @joshdev4404
    @joshdev4404 3 місяці тому +1

    This is such a beautiful and insightful content. How you explained made it easy to understand! 🚀

  • @souravdutt7
    @souravdutt7 4 місяці тому +1

    Thanks for sharing such valuable information.

  • @Kpizzle1289
    @Kpizzle1289 4 місяці тому +2

    I've just got into using k6 and this is a great video that explains the topic very clearly! Nice one! I've actually just been assigned a performance testing work item so this was a nice refresher!

    • @QAlifestyle
      @QAlifestyle 4 місяці тому

      ​​@TechVisionExplained more Test Automation videos please - am an aspiring Junior QA automation tester looking for an Internship opportunity it will be great honestly to learn from what you know as a senior Dev. I love the way you give detailed explaination thanks also for k6 the tool has been amazing for me

  • @eternalpanic1
    @eternalpanic1 3 місяці тому

    Perfect timing.. I was thinking about writing tests for for my projects's API performance..

  • @BiztechInsider
    @BiztechInsider 4 місяці тому

    clear, direct, simple, alot of information.
    u r a underestimated legend

  • @sureshkoochana
    @sureshkoochana 4 місяці тому +2

    Thanks bro, that's lot of information how to test API under certain conditions. Keep doing awesome videos :)

  • @AppySpaces
    @AppySpaces 3 місяці тому

    such a great way to explain performance testing, this helped me a lot thank you

  • @crakzzy4526
    @crakzzy4526 4 місяці тому

    Very short and informative video. Wonderfully explained!

  • @mirindrarazafy
    @mirindrarazafy 4 місяці тому +4

    This vidéo come exactly at the right time, I've been looking for tools for testing the API of current project, really good content and well explained thanks

  • @NaifIT11
    @NaifIT11 4 місяці тому +1

    Important concept and i barely forget to learn it. Thank u😊

  • @vishnumlasia
    @vishnumlasia 2 місяці тому

    I really like the way you presented it was clear abd crisp !!!

  • @hiyawn1672
    @hiyawn1672 4 місяці тому

    you just earned a new subscriber, Hope you keep it up

  • @michaeldeane4807
    @michaeldeane4807 4 місяці тому +1

    Great overview. As a long time front end developer this is the kind of video I appreciate to get an understanding of effective API testing.

  • @rxrzzz
    @rxrzzz 4 місяці тому +8

    thank you for this video! i've been working on an auth project i plan to put on my portfolio and i wanted to know what things i could learn about performance testing along the way. i love your channel's content. please keep up the good work!

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому

      Thank you for the kind words, I'm really glad I could help 💜

  • @andrescaro_16
    @andrescaro_16 4 місяці тому

    What a great video! Greetings from Colombia!

  • @DoorThief
    @DoorThief 3 місяці тому +15

    Usually the bottleneck in my service's performance isn't the API, but the database's performance

    • @hameeeed5992
      @hameeeed5992 2 місяці тому

      Why is this?

    • @DoorThief
      @DoorThief 2 місяці тому +4

      @@hameeeed5992 Because depending on how much business logic you actually have in your APIs, it may primarily just function as a liaison for data retrieval or insertion. In my experience, the API might not actually do too much and the real heavy lifting might be the quantity of data or specificity of the data you're retrieving , or perhaps some server application running the large majority of the business logic and preparing it in the database for retrieval at the client application's request.

  • @stephennfernandes
    @stephennfernandes 4 місяці тому +6

    will use this over apache bench from now on

  • @valentinoquilesmatei3408
    @valentinoquilesmatei3408 3 місяці тому

    Well explained. I liked how you made it visually so its more understandable. LIKE

  • @VladyslavHorbachov
    @VladyslavHorbachov Місяць тому

    Amazing video bro. Subscribed❤

  • @CodingJourney20
    @CodingJourney20 3 місяці тому

    Immediately you said "you can run it on windows"...I smiled 😊.
    Thank you

  • @softbubble_
    @softbubble_ 4 місяці тому

    your channel is so underrated!

  • @ProKawsar
    @ProKawsar 2 місяці тому

    Clear explanation.
    You got a new subscriber.

  • @lageekattitude
    @lageekattitude 4 місяці тому +2

    Awesome as always. I'm definitely going to stress all my APIs with k6.

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому

      Hey @israeltechint, great to see you back on the channel 💜

  • @aghileslounis
    @aghileslounis 4 місяці тому +3

    Excellent video.
    Many never talk about this, even that it's a VERY important thing to consider. Especially for an already established application or an enterprise application.
    I think running it from the cloud using Grafana is probably the most realistic thing you can get to real users. But I might cost a bit. I don't know the pricing, I'll check it.

  • @mehmoodulhassan4042
    @mehmoodulhassan4042 3 місяці тому

    Great explanation sir❤

  • @brad3499
    @brad3499 3 місяці тому

    This is pretty cool. Nice video!

  • @dweblinveltz5035
    @dweblinveltz5035 3 місяці тому

    Great simple video. I have used mostly Artillery in the past along with parallel Batch tasks to simulate many users and overcome the system's rate and IP limiting securities. K6 looks very nice, though, I may try it soon. I have an API that is a refactor of a different architecture that will release to the public soon, and it requires some load and maybe soak testing.

  • @letsgosystemdesign
    @letsgosystemdesign 4 місяці тому

    loved the video. please bring more.

  • @Herna14W
    @Herna14W 4 місяці тому

    Really great content and explanations, keep up the good work! 🤓

  • @devinicin
    @devinicin 4 місяці тому +1

    Awesome, I'll look for K6 right now!

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому +1

      Always great to see you comming back to the channel 🙏
      Don't hesitate to let me know if have any questions

  • @Love-roblox-everytime
    @Love-roblox-everytime 3 місяці тому

    A best teacher is the one who identifies people's struggle and solve their problems. You are simple, eloquent and sufficient for even experienced developers. May I know your name?

  • @taner-saydam
    @taner-saydam 4 місяці тому

    Awesome, love it. Thank you for share this ☺

  • @nmanikiran
    @nmanikiran 4 місяці тому +1

    Thank you. your explanation simple and straight forward. You earned my subscription. Keep up the good work.

  • @Mr767267
    @Mr767267 3 місяці тому

    This is really good explanation on how to test parts of your application. It will still be very important to come up with the MAX request number in a correct way. I have seen folks normally under test the applications when it comes to load.
    Does K6 generate load using new sessions all the time?

  • @aahilalwani25
    @aahilalwani25 4 місяці тому

    thank you so much for this valuable info, will soon implement this in office

  • @sunnysetia
    @sunnysetia 4 місяці тому

    Great video as always! Keep it up

  • @pingxtratech
    @pingxtratech 2 місяці тому

    This is good. Thanks for sharing.
    Can these tests or rather K6 be used for server test (performance and response) too?

  • @fullstackpedro
    @fullstackpedro 4 місяці тому +1

    thanks for all information. will be useful for my current project launching soon and tight deadline

  • @egm5081
    @egm5081 4 місяці тому

    what an awesome video man, thanks

  • @theparten
    @theparten 4 місяці тому

    wow important topic explained very well❤...

  • @muhammadimad57
    @muhammadimad57 4 місяці тому

    Great explanation 👍

  • @ximon-x
    @ximon-x 4 місяці тому

    Great video. Clear and consise. Thank you. Subscribed.

  • @miw14programmer11
    @miw14programmer11 4 місяці тому

    I wish these type of videos were at more of the forefront when designing SAAS and learning how to program. The concepts I wish people went over is making sure payments are going through, your database generating and logging certain order info for a transaction, having emails sent to users reliably such as when a purchase is made from your SAAS and having a notification system externally via sms or emailing. I know this is backend but when I hear about hype of making SAAS they never really show how it should look when many users are using it and how in the end its a business where users are customers.

  • @lamdt2604
    @lamdt2604 4 місяці тому

    Good video.I learnt so many things from your video. Thank you so much

  • @AnandParmar-me
    @AnandParmar-me 3 місяці тому

    "Great video! It’s very informative. I’m curious-are you testing the complete flow, or just the product and listing pages? How do you test the payment functionality in a real-world scenario?"

  • @AntonOtto
    @AntonOtto 3 місяці тому +1

    How do the results take into account your infrastructure and database and/or any other integration? Ideally these tests should run on prod equivalent resources. How do you handle the costs associated? Also how do you account for any external integrations?

  • @Computerix
    @Computerix 4 місяці тому

    Very informative! Thanks, subscribed!

  • @jodwbe
    @jodwbe 4 місяці тому

    Insightful. Hands down. Earned a new sub and bells.

  • @adityaprasad3122
    @adityaprasad3122 4 місяці тому +1

    make more such videos it's a great help

  • @butthurtdeveloper8578
    @butthurtdeveloper8578 4 місяці тому

    Thank you sir. Really very useful 👌

  • @RAM-im5lr
    @RAM-im5lr 4 місяці тому

    Very very nice video sir 🙏🙏🙏

  • @ap6471
    @ap6471 4 місяці тому

    Thanks to UA-cam recommendation I found this channel 😊

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому +1

      Really glad you're enjoying the conent on the channel and thank you for taking the time to leave such a nice comment 💜

  • @zakir.nuriiev
    @zakir.nuriiev 4 місяці тому

    Thank you for such a good explanation! It was very interesting video!

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому

      Glad you enjoyed it, and really appriciate that you took time to write such a nice feedback 💜

  • @shreyanshnanavati
    @shreyanshnanavati 4 місяці тому

    Thank you so much Sir 🫡🤌 you’re producing quality content. ❤

  • @santiagosalinas8961
    @santiagosalinas8961 4 місяці тому

    awesome..And the test have to be applied to all endpoints or just the more used?(when we are testing apis)

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому

      There are cases where load testing is more valuable than others. For example if you have a user flow that is critical to your product for example a checkout or on boarding flow those might be great canditate for load testing. But on other hand things like checking user profile or settings might not be critical to your product and you could ignore the endpoints related to those operations.
      As the saying goes "100% coverage on what matters". If it doesn't matter then ignore and focus on what's important/
      I hope this was helpful

  • @stannisbarracuda5693
    @stannisbarracuda5693 4 місяці тому

    Greate video mate

  • @AgusJanardana
    @AgusJanardana 2 місяці тому

    Awesome tutorial !

  • @vasiovasio
    @vasiovasio 4 місяці тому

    Useful video! Thank you!

  • @muyewahqomeyour7206
    @muyewahqomeyour7206 4 місяці тому

    Very well explained. God job

  • @SonAyoD
    @SonAyoD 4 місяці тому +1

    Great video!!

  • @LeoGusta
    @LeoGusta 4 місяці тому

    Wow very enlightening. Thank You

  • @paulmahardika
    @paulmahardika 4 місяці тому

    great insight, Thanks!

  • @eduardojavier9577
    @eduardojavier9577 4 місяці тому +1

    Amazing video

  • @ahmadfraz5846
    @ahmadfraz5846 3 місяці тому

    best information got in 2024 so far.

  • @sunnysetia
    @sunnysetia 3 місяці тому +4

    Hey bro, it is obvious through your videos you are very knowledgable about these topics and have experience working in a production environment. I would love to see some videos related to deploying to production. How to set up CI/CD pipeline which handles testing, migrations and deployment. Creating that vercel like developer experience where I can simply push the code and it handles the necessary steps for deployment. Lately I've been tinkering with setting up separate environments e.g. dev, staging & prod. I'm trying to use github actions & AWS ECS for this to deploy my Nest.js app. I feel like there is a gap on youtube for quality content on these topics and would love to see some videos from you on this.

    • @dan_le_brown
      @dan_le_brown 2 місяці тому

      Hi, @sunnysetia! Since you've spotted a need, can I recommend that you fill it as well? 👀
      Hehe! Just kidding.
      Did you find a solution for this? I reckon that I might be able to pull of creating such video.
      PS: I have no prior experience making videos for YT, but it's something I've done in the past

    • @sunnysetia
      @sunnysetia 2 місяці тому +1

      @@dan_le_brown Dan totally you should make a video on this if you have the experience!! Gotta start somewhere. I haven’t been able to find a thorough solution to this and feel overwhelmed when it comes to AWS. Please come back and reply to this comment if you end up making a video!! I think it will be helpful for many people

    • @dan_le_brown
      @dan_le_brown 2 місяці тому

      @@sunnysetia alright, cool. I guess I'm about to have my first subscriber!! 😄

  • @BayarjavkhlanBatgerel
    @BayarjavkhlanBatgerel 4 місяці тому +2

    Bro you cooking, sharing usefull things

  • @PyschoHD
    @PyschoHD 3 місяці тому

    Been running a SaaS platform that deals a large volume of requests for a couple of months now, now I had a specific use case when certain users would come online and would load specific charts of data through the API it would start leaking memory was looking at this for hours before I found out it was an API issue
    Wished I saw this video before!

  • @MukundMohanan
    @MukundMohanan 2 місяці тому

    Please add more context to your video title
    I was searching for this videos since 10 days
    Api testing, load testing, rate limiting or more keywords would help reached more people

  • @iroj677
    @iroj677 4 місяці тому +1

    Thank you for the video. Can you make a video on Nestjs dynamic modules ? I get confused with terms like useFactory useClass etc

  • @bhushanzyate65
    @bhushanzyate65 3 місяці тому

    thx brother for the knowledge

  • @Dev_cent
    @Dev_cent 3 місяці тому

    Really helpful

  • @ZodakZach
    @ZodakZach 3 місяці тому

    so when testing your api. do u have to just eat the costs that come with such high usage of your server. lets say you have deployed it in aws and now you want to run these tests to see how it performs and see the limits of it, this will obviously make the cost go up pretty high so do you just have to eat that cost or how does that work?

  • @CodeZakk
    @CodeZakk 4 місяці тому

    Show us how to implement this in nestjs thank you!!🎉🎉

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому +1

      Hey @CodeZakk, K6 is completelly independent from your API. You just define where you want the request to be sent and that's it. In the case of a NestJS app, you run your app, and in a separate terminal you run the load test. That's exactly what I'm doing in that video, I'm running a nest js on localhost:3000.
      Hope that makes sense

  • @emmanuelsoetan1620
    @emmanuelsoetan1620 4 місяці тому

    This is really helpful. I use golang for backend task. K6 can work on there too?

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому

      You can point your k6 tests at any endpoint. It doesn't matter how the API is implemented could be Go, Java, Python. As long as you can send a request to an endpoint, you can test the performace of that request using K6.
      By the way K6 uses Go under the hood even if the test are written in JavaScript they are actually executed using Go 😉

  • @kjabze
    @kjabze 4 місяці тому

    French are the best devs i met in my long career

  • @deepakyadav-ri2fv
    @deepakyadav-ri2fv 4 місяці тому

    Great content. Can please also make how to implement in real products by doing code. And thanks for these types of video s.

  • @milesrykerodazie171
    @milesrykerodazie171 4 місяці тому

    great video.please do you have a course on udemy that develops a backend project with this testing? i am interested to learn more.

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому +1

      Glad you enjoyed it 🙏
      I'm actually working on putting together a course. Still a lot of work to do but working hard on it to bring the most value as possible 💪

    • @milesrykerodazie171
      @milesrykerodazie171 4 місяці тому

      @@TechVisionExplained thank you so much.i will be expecting.Much respect

  • @mohit84604
    @mohit84604 4 місяці тому

    Bro you should make more tutorials about k6

  • @Mahadev-x7u
    @Mahadev-x7u 4 місяці тому +2

    cool ... thank you

  • @sushantpawar3703
    @sushantpawar3703 4 місяці тому

    Man, you have good smile. 😄

  • @johnwalter8024
    @johnwalter8024 4 місяці тому

    Hey great video ❤ but I have some questions what about an api with interacts a database, How do you test that? (I’m not using JavaScript for backend, I’m using go gin)

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому

      You can load test any API (or even website) with K6. You just need to point your test to the endpoint you want to test. It doesn't matter if your API is codde in Java, Python, JavaScript...
      I hope that makes sense

    • @johnwalter8024
      @johnwalter8024 4 місяці тому

      @@TechVisionExplained Yes, absolutely, thanks for the reply 👍

  • @trevormanhuwa
    @trevormanhuwa 4 місяці тому

    Hey, cool stuff, thanks for this infomation

  • @rxrzzz
    @rxrzzz 3 місяці тому

    can we please get a long form video on how to implement bob c. martin's clean architecture in nestjs??? pleaseeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee

  • @choksimega6764
    @choksimega6764 Місяць тому

    Bro help me reverse engineer "dhru" api

  • @AmitRaj-lf3gf
    @AmitRaj-lf3gf 4 місяці тому

    Awesome!

  • @Unrivalled_Under_The_Heavens
    @Unrivalled_Under_The_Heavens 3 місяці тому

    I am a newbie to software, i had worked with K6 a while back to load test API flows in a server, Can anyone experienced in this tell me what is the appropriate industry standard method to load test APIs that have OAUTH 2.0 authorization involved.

  • @oreoluwasomuyiwa4049
    @oreoluwasomuyiwa4049 4 місяці тому

    Postman has a performance testing feature, is it as good as K8?

    • @TechVisionExplained
      @TechVisionExplained  4 місяці тому

      I have never used the Postman perf testing, and in general I don't use Postman for testing APIs.
      If you find out the info I would be curious to know as well

    • @banujan.b2479
      @banujan.b2479 4 місяці тому

      It’s K6 not K8, K8 is Kubernetes.