Procfile 2.3 KB

123456789101112131415161718192021
  1. # Use goreman to run `go get github.com/mattn/goreman`
  2. # peer bridges
  3. pbridge1: tools/local-tester/bridge.sh 127.0.0.1:11111 127.0.0.1:12380
  4. pbridge2: tools/local-tester/bridge.sh 127.0.0.1:22222 127.0.0.1:22380
  5. pbridge3: tools/local-tester/bridge.sh 127.0.0.1:33333 127.0.0.1:32380
  6. # client bridges
  7. cbridge1: tools/local-tester/bridge.sh 127.0.0.1:2379 127.0.0.1:11119
  8. cbridge2: tools/local-tester/bridge.sh 127.0.0.1:22379 127.0.0.1:22229
  9. cbridge3: tools/local-tester/bridge.sh 127.0.0.1:32379 127.0.0.1:33339
  10. faults: tools/local-tester/faults.sh
  11. stress-put: tools/benchmark/benchmark --endpoints=127.0.0.1:2379,127.0.0.1:22379,127.0.0.1:32379 --clients=27 --conns=3 put --sequential-keys --key-space-size=100000 --total=100000
  12. etcd1: GOFAIL_HTTP="127.0.0.1:11180" bin/etcd --name infra1 --snapshot-count=1000 --listen-client-urls http://127.0.0.1:11119 --advertise-client-urls http://127.0.0.1:2379 --listen-peer-urls http://127.0.0.1:12380 --initial-advertise-peer-urls http://127.0.0.1:11111 --initial-cluster-token etcd-cluster-1 --initial-cluster 'infra1=http://127.0.0.1:11111,infra2=http://127.0.0.1:22222,infra3=http://127.0.0.1:33333' --initial-cluster-state new --enable-pprof
  13. etcd2: GOFAIL_HTTP="127.0.0.1:22280" bin/etcd --name infra2 --snapshot-count=1000 --listen-client-urls http://127.0.0.1:22229 --advertise-client-urls http://127.0.0.1:22379 --listen-peer-urls http://127.0.0.1:22380 --initial-advertise-peer-urls http://127.0.0.1:22222 --initial-cluster-token etcd-cluster-1 --initial-cluster 'infra1=http://127.0.0.1:11111,infra2=http://127.0.0.1:22222,infra3=http://127.0.0.1:33333' --initial-cluster-state new --enable-pprof
  14. etcd3: GOFAIL_HTTP="127.0.0.1:33380" bin/etcd --name infra3 --snapshot-count=1000 --listen-client-urls http://127.0.0.1:33339 --advertise-client-urls http://127.0.0.1:32379 --listen-peer-urls http://127.0.0.1:32380 --initial-advertise-peer-urls http://127.0.0.1:33333 --initial-cluster-token etcd-cluster-1 --initial-cluster 'infra1=http://127.0.0.1:11111,infra2=http://127.0.0.1:22222,infra3=http://127.0.0.1:33333' --initial-cluster-state new --enable-pprof
  15. # in future, use proxy to listen on 2379
  16. #proxy: bin/etcd --name infra-proxy1 --proxy=on --listen-client-urls http://127.0.0.1:2378 --initial-cluster 'infra1=http://127.0.0.1:12380,infra2=http://127.0.0.1:22380,infra3=http://127.0.0.1:32380' --enable-pprof