This repository has been archived by the owner on Sep 26, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
pushgo.json
102 lines (102 loc) · 4.21 KB
/
pushgo.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "Push Testing",
"plans": [
{
"name": "Single Server",
"description": "10 Server cluster with 1.6 million clients",
"steps": [
{
"name": "Test Cluster",
"instance_count": 10,
"instance_region": "us-east-1",
"instance_type": "m3.large",
"run_max_time": 3600,
"container_name": "bbangert/pushgo:1.5rc4",
"container_url": "https://s3.amazonaws.com/loads-docker-images/pushgo-1.5rc4.tar.bz2",
"environment_data": [
"PUSHGO_METRICS_STATSD_SERVER=$STATSD_HOST:$STATSD_PORT",
"PUSHGO_DISCOVERY_TYPE=etcd",
"PUSHGO_DISCOVERY_SERVERS=http://52.1.193.194:2379",
"PUSHGO_DISCOVERY_DIR=test-$RUN_ID",
"PUSHGO_DEFAULT_RESOLVE_HOST=false",
"PUSHGO_DEFAULT_CURRENT_HOST=$PRIVATE_IP",
"PUSHGO_ROUTER_DEFAULT_HOST=$PRIVATE_IP",
"PUSHGO_DISCOVERY_REFRESH_INTERVAL=5s",
"PUSHGO_ROUTER_CTIMEOUT=2s",
"PUSHGO_ROUTER_RWTIMEOUT=2s",
"PUSHGO_ROUTER_LISTENER_MAX_CONNECTIONS=10000",
"PUSHGO_ENDPOINT_LISTENER_MAX_CONNECTIONS=100",
"PUSHGO_WEBSOCKET_LISTENER_MAX_CONNECTIONS=160000",
"PUSHGO_METRICS_PREFIX=",
"PUSHGO_WEBSOCKET_LISTENER_TCP_KEEP_ALIVE=30s",
"PUSHGO_ENDPOINT_ALWAYS_ROUTE=true",
"PUSHGO_METRICS_COUNTERS_PREFIX=",
"PUSHGO_METRICS_GAUGES_PREFIX=",
"PUSHGO_METRICS_TIMERS_PREFIX=",
"PUSHGO_DEFAULT_PUSH_ENDPOINT_TEMPLATE=http://testcluster.mozilla.org:8081/update/{{.Token}}"
],
"prune_running": false,
"dns_name": "testcluster.mozilla.org",
"port_mapping": "8080:8090,8081:8081,3000:3000",
"volume_mapping": "/var/log:/var/log/$RUN_ID:rw",
"docker_series": "pushgo"
},
{
"name": "PushTester",
"instance_type": "t2.medium",
"instance_count": 5,
"instance_region": "us-east-1",
"run_max_time": 3590,
"run_delay": 10,
"container_name": "bbangert/simpletest:0.6",
"environment_data": [
"CONNECTION_COUNT=20",
"PING_DELAY=50",
"NOTIFICATION_DELAY=15"
],
"additional_command_args": "testcluster.mozilla.org 8090 10000 ping $STATSD_HOST:$STATSD_PORT +RTS -N2",
"docker_series": "push_tester"
}
]
},
{
"name": "Moar Servers",
"description": "Single PushGo server, 2 sets of testers for peak of 200k connections.",
"steps": [
{
"name": "Test Cluster",
"instance_count": 3,
"instance_region": "us-east-1",
"instance_type": "m3.large",
"run_max_time": 840,
"container_name": "bbangert/pushgo:1.5rc3",
"container_url": "https://s3.amazonaws.com/loads-docker-images/pushgo-1.5rc3.tar.bz2",
"environment_data": [
"PUSHGO_METRICS_STATSD_SERVER=$STATSD_HOST:$STATSD_PORT",
"PUSHGO_DISCOVERY_TYPE=etcd",
"PUSHGO_DISCOVERY_SERVERS=http://internal-loads-test-EtcdELB-I7U9KLC25MS9-1217877132.us-east-1.elb.amazonaws.com:4001",
"PUSHGO_DISCOVERY_DIR=test-$RUN_ID",
"PUSHGO_DEFAULT_RESOLVE_HOST=false",
"PUSHGO_DEFAULT_CURRENT_HOST=$PRIVATE_IP",
"PUSHGO_ROUTER_DEFAULT_HOST=$PRIVATE_IP",
"PUSHGO_DISCOVERY_REFRESH_INTERVAL=5s",
"PUSHGO_ROUTER_LISTENER_MAX_CONNECTIONS=4000",
"PUSHGO_ENDPOINT_LISTENER_MAX_CONNECTIONS=4000",
"PUSHGO_WEBSOCKET_LISTENER_MAX_CONNECTIONS=160000",
"PUSHGO_METRICS_PREFIX=",
"PUSHGO_WEBSOCKET_LISTENER_TCP_KEEP_ALIVE=30s",
"PUSHGO_ENDPOINT_ALWAYS_ROUTE=true",
"PUSHGO_METRICS_COUNTERS_PREFIX=",
"PUSHGO_METRICS_GAUGES_PREFIX=",
"PUSHGO_METRICS_TIMERS_PREFIX=",
"PUSHGO_DEFAULT_PUSH_ENDPOINT_TEMPLATE=http://$HOST_IP:8081/update/{{.Token}}"
],
"dns_name": "testcluster.mozilla.org",
"port_mapping": "8080:8090,8081:8081,3000:3000",
"volume_mapping": "/var/log:/var/log/$RUN_ID:rw",
"docker_series": "pushgo"
}
]
}
]
}