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
# stream-loadgen — websocket load generator for stream.waow.tech
#
# a client-only worker app: no services, no public ports. the process args
# ARE the scenario — edit the app process below or run one-off machines:
#
# fly deploy # build + start with the args below
# fly scale count 3 --region ams,iad,sjc # same scenario from three regions
# fly machine run . --region sjc -- --conns=500 --ramp-ms=0 --duration-s=120
# fly apps destroy stream-loadgen # tear everything down
#
# scenarios (see src/main.zig header): hold, connect storm, churn,
# slow reader, replay — all knob combinations of the flags below.
app = "stream-loadgen"
primary_region = "ord"
[build]
dockerfile = "Dockerfile"
[processes]
app = "--conns=1 --report-s=1"
[[vm]]
size = "shared-cpu-1x"
memory = "256mb"
processes = ["app"]