Performance Testing - What? Why? How? When? (with Ddosify Examples)

Поділитися
Вставка
  • Опубліковано 16 чер 2024
  • What is performance testing? What do we measure with performance testing? How should we define performance tests? How and where should we run performance tests? Is it enough to run performance tests? Should we do performance testing?
    Examples are provided through Ddosify.
    #performancetest #loadtesting #ddosify
    Consider joining the channel: / devopstoolkit
    ▬▬▬▬▬▬ 🔗 Additional Info 🔗 ▬▬▬▬▬▬
    ➡ Gist with the commands: gist.github.com/vfarcic/5631e...
    🔗 Ddosify Repo: github.com/ddosify/ddosify
    🔗 Ddosify Site: ddosify.com
    🎬 Distributed Tracing With Jaeger And OpenTelemetry In Kubernetes: • Distributed Tracing Wi...
    🎬 You MUST Instrument Your Code With OpenTelemetry!: • You MUST Instrument Yo...
    🎬 Monitoring, Logging, And Alerting In Kubernetes: • Monitoring, Logging, A...
    🎬 Progressive Delivery Explained - Big Bang (Recreate), Blue-Green, Rolling Updates, Canaries: • Progressive Delivery E...
    🎬 Argo Rollouts - Canary Deployments Made Easy In Kubernetes: • Argo Rollouts - Canary...
    🎬 How To Do Canary Deployments In Kubernetes Using Flagger And Linkerd?: • How To Do Canary Deplo...
    ▬▬▬▬▬▬ 💰 Sponsoships 💰 ▬▬▬▬▬▬
    If you are interested in sponsoring this channel, please use xxcalendly.com/vfarcic/meet to book a timeslot that suits you, and we'll go over the details. Or feel free to contact me over Twitter or LinkedIn (see below).
    ▬▬▬▬▬▬ 👋 Contact me 👋 ▬▬▬▬▬▬
    ➡ Twitter: / vfarcic
    ➡ LinkedIn: / viktorfarcic
    ▬▬▬▬▬▬ 🚀 Other Channels 🚀 ▬▬▬▬▬▬
    🎤 Podcast: www.devopsparadox.com/
    💬 Live streams: / devopsparadox
    ▬▬▬▬▬▬ ⏱ Timecodes ⏱ ▬▬▬▬▬▬
    00:00 Introduction to Performance Testing
    06:07 What to Measure with Performance Tests?
    12:32 How to Define Performance Tests?
    18:06 How and Where Should We Run Performance Tests?
    28:02 How to Observe Performance Test Results?
    29:36 Is It Enough to Run Performance Tests?
    24:48 Should We Do Performance Testing?
    36:30 Ddosify Pros and Cons
  • Наука та технологія

КОМЕНТАРІ • 18

  • @DevOpsToolkit
    @DevOpsToolkit  Рік тому

    How do you do performance testing? What tools do you use? What do you measure?

    • @hugolopes5604
      @hugolopes5604 Рік тому +2

      we use testkube that has executers for load runner or gatlling... if we can make a ddosify executer in testkube, then its fine too... I gave up trying to standarize testing tools in my organization... but I would like to standarize how they hosted and how they integrate with gitops and CICD.

  • @fenari75
    @fenari75 Рік тому +4

    Great coverage with great thoughts & guidance, very well done! ❤

  • @TheAppo1988
    @TheAppo1988 Рік тому +1

    Was an honor to meet you at kubecon

  • @ScottMooreConsultingLLC
    @ScottMooreConsultingLLC Рік тому +2

    Thank you for at least acknowledging the aspect of performance in this video. I want to focus on where we agree. Most performance engineering (whether under load or not) is useless and pointless the way it's being done today. It is providing little value. Not because it shouldn't be done, but those doing it have little expertise with the discipline. Yet - they are responsible for the execution of it for their organization. This is why IT still struggles with performance in modern systems in 2023. A production-like environment is a nice to have, but is NOT the major issue and does not prevent a successful and valuable outcome. Performance engineers have dealt with this limitation for decades. We have a serious education issue in this area. I hope you and others will continue to bring up the topic so we can raise the bar on the lost art of performance engineering.

  • @dean8012
    @dean8012 Рік тому +1

    Love your podcast.

  • @Roman-zs9qm
    @Roman-zs9qm Рік тому +1

    Awesome video! (Like most of your content 😊) Your “blasphemous” comments resonate with my own opinions on performace testing in production. That being said, you’ve definitly peaked my interest on ddosify and if you have time please do a video on it.

  • @rishikapoor7387
    @rishikapoor7387 Рік тому +3

    I saw Grafana k6 before due to Grafana's popularity, I am not sure though how it compares with Ddosify in terms of features. Or which one is better. The No-Code UI feature from Ddosify looks great.

  • @MrNeo64
    @MrNeo64 Рік тому +1

    great video! it’s great to know I’m not alone when I find myself making your same arguments!
    Viktor, video idea: application configuration at scale - seems like there are little to no tools which enable configuration as code, and provide sufficient self-servicability for devs.. (not unless you’re obliged to use cloud-specific offerings e.g Azure DevOps)
    love what you do!

    • @DevOpsToolkit
      @DevOpsToolkit  Рік тому

      I'm guessing you don't mean something like ua-cam.com/video/Rg98GoEHBd4/v-deo.html...
      Can you give me a bit more info about the idea?

  • @mrcaique1025
    @mrcaique1025 5 місяців тому

    What about testing services with copy of production traffic? Seems it is not supported by ddosify

    • @DevOpsToolkit
      @DevOpsToolkit  5 місяців тому

      Ddosify does not help you creating the copy of production traffic. For that you probably needs some kind of a networking solution that will copy production traffic to a different environment. However, if you're looking into testing production (or a copy of production), I would suggest using observability tools for that. Performance testing is mostly for deducing what would happen before it reaches production.

  • @57skies
    @57skies Рік тому +1

    how is this different then k6 or gatling for example? I can't tell :)

    • @DevOpsToolkit
      @DevOpsToolkit  Рік тому +1

      In this video, i used ddosify to demonstrate certain aspects of performance testing rather than to feature the tool or compare it with others. I can do that in a separate video though.

  • @user-lr8fo7hn9j
    @user-lr8fo7hn9j Рік тому +3

    Some observations
    * Apparently, this person can only find performance issues with a production-sized environment and load. Working with environments sized differently from production is something that actual performance engineering professionals have been doing day in and day out for decades. Yes, before the cloud. Before even the Internet took off with two-tier client-server applications, we could find issues with as few as a single user. If it will not meet performance requirements for a single user, it is an axiom that it will not complete it for many users
    * He's right that most performance tests are poor in understanding performance. This lack of value is due to how most performance testers are introduced to the field. Rather than go through training and mentoring to become effective and valuable, they are socially promoted from other testing areas. I have even witnessed a big four onsite lead tell a person to go home and watch youtube tool videos for tomorrow they would be leading performance efforts. It is no wonder that only about 8% of people are genuinely delivering value in this space.
    * Performance is about system efficiency. The more efficient, the better the scalability and the faster the end-user response. It also results in lowered support costs and lower hosting costs. The value delivered from any performance effort, from single-user analysis to multi-user test results analysis, to production analysis, is to recommend system changes that improve efficiency. Until that change is implemented, any performance effort is a cost with no return on investment of personnel, time, or tools.
    * Performance technical debt accrues until you ask the first question. If you wait for production, you will find that hundreds of architectural decisions become impossible to unwind quickly and cost-effectively to improve performance. This issue of defects escaping to production and their costs to fix is a well-studied problem from ANSI, Gartner, IBM, and others. The production repair cost is orders of magnitude higher than even user acceptance testing. Ideally, you want to catch the performance defect as close to the introduction as possible. This means asking performance questions as early as possible in the application lifecycle. We can observe daily in the news and on Twitter feeds and news articles the consequences of asking too late, or not at all, until production.
    What are my bona fides in making these observations? Over the past three decades, I have helped answer performance questions impacting 1.1 Trillion of the US Economy. These items range from Mortgage generation and securitization, Stock Trades, Tax Payments, eCommerce systems, Digital Currencies, and Trading systems for the same, Internal support systems for manufacturing, HR, payroll, logistics, purchasing airline and hotel reservations, and call centers. I have helped eCommerce providers find millions of extra revenue from improved conversion rates without running a single test. I have helped trading exchanges recover 90% of their resource pool in configuration changes. I have helped a failed electronic currency launch become a success. I have worked with governments at all levels and private industry on applications ranging from internal-only two-tier systems to systems that span multinational private and public clouds. If you have an issue where performance impacts your business, and you need an answer because poor performance has a cost, and you are willing, I will do your work at no upfront charge; My compensation will be a percentage of the improvement on the KPIs for your application, your response time, your total time on the system (measurement of efficiency), your improved conversion rate, your lowered hosting and support costs.
    And I will do all of this without using DDOSIFY.

    • @fenari75
      @fenari75 Рік тому +5

      In favor of selling $M consultancy, dropping tools that can automate most of these is not the way for scale.

    • @jamespulley4275
      @jamespulley4275 Рік тому +1

      Automated or not. Agile, waterfall, Devops, some hybrid methodology, offer still holds. I will do performance work for a percentage of your gain. Don't experience at least a five percent improvement, then zero compensation to me and my team. You don't even have to purchase any tools

    • @ScottMooreConsultingLLC
      @ScottMooreConsultingLLC Рік тому

      Well said, my friend.