Skip to content

Instantly share code, notes, and snippets.

View fabiofumarola's full-sized avatar

fabio fumarola fabiofumarola

  • DataToKnowledge
  • Bari
View GitHub Profile
@fabiofumarola
fabiofumarola / scala.rb
Created November 20, 2012 15:22 — forked from cstrahan/scala.rb
Install Scala 2.10 RC3 on OSX
# to install the latest stable version:
brew install scala --with-docs
# to install scala-2.10.0-RC3:
brew install https://raw.github.com/gist/4118557/scala.rb --with-docs
# to switch versions (from https://github.com/mxcl/homebrew/wiki/External-Commands):
brew switch scala 2.9.2
brew switch scala 2.10.0-RC3
# to install the latest stable version:
brew install play
# to install play-2.1.1:
brew install https://raw.github.com/gist/4112398/play.rb
# to switch versions (from https://github.com/mxcl/homebrew/wiki/External-Commands):
brew switch play 2.1.0
brew switch play 2.1.1
@fabiofumarola
fabiofumarola / benchmark-commands.txt
Last active August 29, 2015 14:26 — forked from jkreps/benchmark-commands.txt
Kafka Benchmark Commands
Producer
Setup
bin/kafka-topics.sh --zookeeper zk:2181 --create --topic test-rep-one --partitions 6 --replication-factor 1
bin/kafka-topics.sh --zookeeper zk: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=192.168.99.100:9092 buffer.memory=67108864 batch.size=8196