~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/stream

jetstream v2 in zig · mirror of https://tangled.org/zat.dev/stream

0
0
26 lines · 881 B Raw History
# 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"]