Upgrade to Pro — share decks privately, control downloads, hide ads and more …

It's just a jump to the left...

It's just a jump to the left...

As software systems become more distributed and complex, the "shift-left" movement brings reliability testing to earlier stages of development. Tools like JMeter, Gatling, and k6 among others should no longer be considered optional to include in your CI/CD pipeline.

k6, for one, is an open source project written in Go which provides an extension framework for adding custom integrations, like Kubernetes. With this extension, we can manipulate the runtime environment to verify the functionality of our applications under various scenarios.

This talk originally presented as a Lightning Talk at GopherCon 2022 in Chicago, USA.

Paul Balogh

October 07, 2022
Tweet

More Decks by Paul Balogh

Other Decks in Programming

Transcript

  1. a 20th Century Fox Film if you haven’t, you really

    should see it! Presented by PAUL BALOGH Twittering @javaducky The Rocky Horror Picture Show inspired by it’s just a jump to the left…
  2. dammit, Janet…I love you! home of happiness… ✓automated CI/CD pipelines

    ✓swell coverage with unit tests ✓feature branches deploy to staging envs ✓QA tests and validates the system ready for production…
  3. A Fairly Ordinary Night… ✓QA veri fi ed functionality ✓integrations

    con fi rmed successfully ✓release deployed to production ✓system checks out it seems fortune smiled on Brad and Janet…
  4. A Strange Journey… ✓marketing had a misprint ✓dramatic number of

    visitors fl ood the site ✓response times slooooooww down ✓kubernetes started killing pods the SREs are not amused… we’d like to use your phone.
  5. An Evenings affair… ✓scale up more pods ✓“overprovision” to maintain

    uptime ✓developers say it’s not the code ✓postmortems are written what is to become of Brad and Janet? you’d better wise up Janet Weiss!
  6. Back in the Lab… ✓unit and E2E tests alone were

    not enough ✓latencies will compound with high demand ✓poor resource handling appears at scale ✓didn’t know when something was wrong a beautiful creature is destined to be born…
  7. Shifting Left… ✓add load testing within build pipeline - tools

    like k6, JMeter, Gatling ✓establish benchmarks and objectives ✓de fi ne your service level indicators (SLIs) - tools like Grafana, Datadog, New Relic switch on the sonic oscillator! Frank-N-Furter. We meet at last!
  8. Shifting Left… ✓add contract testing to verify APIs - tools

    like k6 or Pact ✓assures backward compatibility ✓consumer-driven contracts step up the reactor power input!
  9. Shifting Left… ✓add chaos testing - tools like k6, Steadybit,

    or Gremlin ✓determine behavior in crisis ✓incorporate fallbacks based on failure say `hello` to oblivion! oooh…Rocky!