Skip to content

Instantly share code, notes, and snippets.

@helakelas
helakelas / benchmark-commands.txt
Created July 14, 2018 03:35 — 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
@helakelas
helakelas / centos7-neo4j-notes
Created February 1, 2018 05:42 — forked from drchriskirk/centos7-neo4j-notes
Notes to add neo4j to Centos 7; nginx; bolt etc
neo4j on Centos 7
August 2017
Quick install - no frills
ensure oracle java is already installed and operational
see my other note on pesky java installations
acquire the tar archive, unwrap in eg /opt
cd /opt
tar -xf neo4j-community-3.2.2-unix.tar.gz
1. raid
1.1 查看物理卷信息
/opt/MegaRAID/MegaCli/MegaCli64 -pdlist -aall
1.2 查看逻辑卷+物理卷
/opt/MegaRAID/MegaCli/MegaCli64 -ldpdinfo -aall
1.2.1 查看逻辑卷
/opt/MegaRAID/MegaCli/MegaCli64 -ldinfo -lall -aall