Chaos testing with k6, Prometheus, and Grafana (Schrödinger's Pokémon)

Ғылым және технология

In this presentation, Nicole van der Hoeven talks about what chaos engineering is, what it has to do with testing, and how to run chaos experiments and load tests in the same script, using k6. She also talks about how to set up Grafana and Prometheus for observability during chaos testing.
Deploying an application to production is often like putting a pokémon in a box and hoping it manages to stay alive despite real-world chaos and potential outages. What can we, as testers, do to prepare applications for these situations before they go live? In this talk, Nicole discusses chaos engineering concepts and demonstrates how to apply them by incorporating load tests with chaos experiments and setting up observability tools to watch it all happen. Because without observability, how can we tell whether Schrödinger's pokémon is alive or dead?
Nicole on Twitter: / n_vanderhoeven
Learn more about k6:
Website: k6.io
Repo: github.com/grafana/k6

Пікірлер: 14

  • @whatbirdisthat
    @whatbirdisthat2 жыл бұрын

    Thank you for this. I 100% agree with you that chaos testing is testing, just as test engineering is engineering :) QA 2.0 : we don't raise bug tickets, we raise pull requests!!

  • @k6io

    @k6io

    Жыл бұрын

    Hey, I really love that mentality! Who says we can't be proactive and fix things we see?? :) - Nicole

  • @MuratKeremOzcan
    @MuratKeremOzcan2 жыл бұрын

    Been waiting for this, thanks

  • @k6io

    @k6io

    2 жыл бұрын

    Hi Murat! Glad I could help! - Nicole

  • @JamesLeatherman
    @JamesLeatherman2 жыл бұрын

    Fantastic!

  • @k6io

    @k6io

    2 жыл бұрын

    Hey James! Thanks for your support as always! :) - Nicole

  • @MuratKeremOzcan
    @MuratKeremOzcan2 жыл бұрын

    on AWS, what would you replace Prometheus + Grafana with?

  • @danielgonzalezlopes2844

    @danielgonzalezlopes2844

    2 жыл бұрын

    On AWS you can use Prometheus and Grafana! aws.amazon.com/grafana/ aws.amazon.com/prometheus/

  • @k6io

    @k6io

    2 жыл бұрын

    Hi Murat, thanks for the comment! As Daniel mentioned, I'd probably still use Prometheus + Grafana on AWS. Prometheus is a CNCF project for a reason-- it's quickly becoming a standard in the industry. I don't see a reason to use something other than it. - Nicole

  • @prernasrivastav6619
    @prernasrivastav6619 Жыл бұрын

    Need one opinion, apart from chaos engineering. If I am trying to load test application for 3 million data load, will k6 be the best tool in this case provided my application is written in Java?

  • @prernasrivastav6619

    @prernasrivastav6619

    Жыл бұрын

    Planning to run these tests as k8s jobs.

  • @k6io

    @k6io

    Жыл бұрын

    Hi Prerna, there is no "best" tool. Just the best tool for the situation. Since I don't know the whole situation, I would recommend that you do a proof of concept for the tools that you would like to consider, weigh up the pros and cons of each one, and decide based on the type of testing you're doing, the resources you have, the experience your team has with the languages and tools involved, and your goals for testing. Good luck!

  • @prernasrivastav6619

    @prernasrivastav6619

    Жыл бұрын

    Thanks 🙏🏻 As per the documentation, I read k6 can send 7-12 million requests per second whereas I have to test for a scenario where database has 2 million records and then we want to make continuous request at a less tps value! With the poc I did and with the documentation I read till now, I believe we can use it.

  • @k6io

    @k6io

    Жыл бұрын

    Great to hear that, Prerna! I hope you've been able to achieve those goals with k6. Let us know how you went! :) - Nicole

Келесі