Systems | Development | Analytics | API | Testing

August 2021

How to Perform Load Testing with k6 using Google Cloud Build

In this tutorial, we will look into how to integrate performance testing in your development process with Google Cloud Build and k6. k6 is an open-source load testing tool for testing the performance of APIs, microservices, and websites. Developers use k6 to test a system's performance under a particular load to catch performance regressions or errors.

How to do Continuous Performance Testing with Lee Barnes (k6 Office Hours #26)

In this episode of k6 Office Hours, Nicole is joined by Lee Barnes, founder and CTO of Utopia Solutions, to discuss how to do continuous performance testing and incorporate performance tests into CI/CD pipelines within DevOps or Agile frameworks. Performance testing should be done at every stage of the software development cycle.

Error Economics - How to avoid breaking the budget

At SLOConf 2021 I talked about how we may use error budgets to add pass/fail criterias to reliability tests we run as part of our CI pipelines. As Site Reliability Engineers, one of our primary goals is to reduce manual labor, or toil, to a minimum while at the same time keeping the systems we manage as reliable and available as possible. To be able to do this in a safe way, it's really important that we're able to easily inspect the state of the system.

k6 Load Testing Debugging Using a Web Proxy

One of the more challenging aspects of load testing happens very early on: getting your scripts working. When you run your scripts, you may observe unexpected error status codes (typically in the 4xx-5xx status code range). Other times, you'll run your script and see it receive the expected responses (usually HTTP 200), yet the "thing" your script is meant to create simply doesn't show up anywhere, like on the database or as a record on the site. You start wondering: why on earth is that?

Benchmarking Redis with k6

Previously, I have covered an article on Load Testing SQL Databases with k6 . For your information, from k6 version 0.29.0 onwards, you can write a k6 Go extension and build your own k6 binaries. This comes in handy as you can use a single framework for load testing different protocols, such as ZMTQ, SQL, Avro, MLLP, etc. In this series of k6 extensions, let’s benchmark Redis now.

Kubedim: Microservices testing using k6 for reliability, with Kelvin Zhang (k6 Office Hours #24)

How do you do microservices testing and improve the performance and reliability of complex modern architectures? What is Kubedim, and how can k6 load testing be used to verify outcomes for a microservices-based system? Nicole van der Hoeven (k6 Developer Advocate), Daniel González Lopes (k6 SRE), and Kelvin Zhang (incoming Google SWE) discuss Kelvin's master's thesis at the Imperial College London.

Monitoring your k6 load test: how to install Grafana and Prometheus on a Kubernetes cluster

How do you monitor your application during k6 load testing? In this video, Nicole van der Hoeven learns how to install Grafana and Prometheus in her Kubernetes cluster (hosted in DigitalOcean), then runs a load test against her application with k6.

How we work at k6 - building software & working remotely with CTO Pawel Suwala (k6 Office Hours #23)

In this episode of k6 Office Hours, Nicole is joined by Pawel Suwala, CTO of k6, to give you a sneak peek of how we work at k6, and what we're working on next. We're going to talk about the methodology we use for creating k6, the different teams we have, and exciting new features that are coming soon!