Skip to content

Instantly share code, notes, and snippets.

View kitsirota's full-sized avatar

Kit Sirota kitsirota

View GitHub Profile

Keybase proof

I hereby claim:

  • I am kitsirota on github.
  • I am kitsirota (https://keybase.io/kitsirota) on keybase.
  • I have a public key ASChHar_3XgJOi6dbVWj7pelWL6wNgYZhaWfa3AByRT-ygo

To claim this, I am signing this object:

@kitsirota
kitsirota / benchmark-commands.txt
Created December 29, 2015 16:49 — forked from jkreps/benchmark-commands.txt
Kafka Benchmark Commands
Producer
Setup
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1
bin/kafka-topics.sh --zookeeper esv4-hcl197.grid.linkedin.com:2181 --create --topic test --partitions 6 --replication-factor 3
Single thread, no replication
bin/kafka-run-class.sh org.apache.kafka.clients.tools.ProducerPerformance test7 50000000 100 -1 acks=1 bootstrap.servers=esv4-hcl198.grid.linkedin.com:9092 buffer.memory=67108864 batch.size=8196
# Build dependencies for OpenResty.
sudo apt-get install build-essential libpcre3-dev libssl-dev libgeoip-dev
# Install standard Nginx first so that you get the relevant service scripts installed too
sudo apt-get install nginx
# If you want to access Postgres via Nginx
sudo apt-get install libpq-dev