Skip to content

Instantly share code, notes, and snippets.

View javaducky's full-sized avatar

Paul Balogh javaducky

View GitHub Profile
@javaducky
javaducky / k6 and Kubernetes experimentation.md
Last active February 28, 2024 12:37
k6 and Kubernetes experimentation

Experimenting with k6 and Kubernetes

Prerequisite...you MUST have a running installation of Docker!

For this experiment, we will:

  • install a local Kubernetes cluster running in Docker
  • optionally install some tooling to give us visibility into the cluster
  • build a custom k6 binary having xk6-kubernetes
  • run some simple scripts to test our local cluster
@javaducky
javaducky / Build and run k6 with extensions using Docker.md
Last active December 8, 2022 16:16
How-to and resources to build and run a custom k6 binary with xk6 extensions using Docker. Go(lang) setup not required.

Build and run k6 with xk6 extensions using Docker

Not everyone loves the Go programming language as myself...I get that. If you're just looking to be able to use k6 OSS with some available extensions and don't want to mess with setting up a Go(lang) environment, then this gist is for you!

🎅 What will this do for me?

This will provide a couple resources to make it simple to create your own customized version of k6 and execute tests all within Docker.

It should come as no surprise that you will need Docker installed!

💁 Why do I want this?

@javaducky
javaducky / .bashrc
Created February 7, 2022 20:18 — forked from vsouza/.bashrc
Golang setup in Mac OSX with HomeBrew. Set `GOPATH` and `GOROOT` variables in zshell, fish or bash.
# Set variables in .bashrc file
# don't forget to change your path correctly!
export GOPATH=$HOME/golang
export GOROOT=/usr/local/opt/go/libexec
export PATH=$PATH:$GOPATH/bin
export PATH=$PATH:$GOROOT/bin
@javaducky
javaducky / Makefile
Created September 3, 2019 19:12 — forked from kwilczynski/Makefile
Makefile for my Go projects (an example).
SHELL := /bin/bash
REV := $(shell git rev-parse HEAD)
CHANGES := $(shell test -n "$$(git status --porcelain)" && echo '+CHANGES' || true)
TARGET := packer-provisioner-itamae-local
VERSION := $(shell cat VERSION)
OS := darwin freebsd linux openbsd
ARCH := 386 amd64
@javaducky
javaducky / kafka.md
Created May 13, 2016 02:26 — forked from ashrithr/kafka.md
kafka introduction

Introduction to Kafka

Kafka acts as a kind of write-ahead log (WAL) that records messages to a persistent store (disk) and allows subscribers to read and apply these changes to their own stores in a system appropriate time-frame.

Terminology:

  • Producers send messages to brokers
  • Consumers read messages from brokers
  • Messages are sent to a topic