valkey chaos
This commit is contained in:
@@ -0,0 +1,89 @@
|
||||
# Chaos workload for sea1, run against the HA valkeys.
|
||||
#
|
||||
# Ports (per Zerops valkey:ha): 6379 = master plaintext, 7000 = replica
|
||||
# plaintext. NOTE: the TLS ports (6380/7001) require mutual TLS (a client
|
||||
# certificate) on these migration valkeys — the tester only does server-side
|
||||
# trust (--tls-ca), so we use the plaintext ports with password auth, the same
|
||||
# path the seeding used.
|
||||
#
|
||||
# Auth: per-service password via ${valkeyhaN_password} (wired in zerops.yaml
|
||||
# setup `chaosworker-sea`).
|
||||
#
|
||||
# Targeting rationale:
|
||||
# valkeyha3 (2 GiB) — full mix incl. write-heavy roles. The durability
|
||||
# ledger (vk:chaos:ledger:*) is written with NO TTL and
|
||||
# grows over time, so writes go only where there's RAM
|
||||
# headroom.
|
||||
# valkeyha1/2 (0.5 GiB) — pub/sub only: exercises the master ingress and
|
||||
# pub/sub path with zero key growth (and no cross-host
|
||||
# read-after-write misses, since readers verify keys the
|
||||
# same container wrote).
|
||||
workers:
|
||||
# ---- valkeyha3: full mix --------------------------------------------------
|
||||
- name: rw-ha3
|
||||
role: readwriter
|
||||
host: valkeyha3.zerops
|
||||
port: 6379
|
||||
password: ${valkeyha3_password}
|
||||
interval: 10ms
|
||||
- name: wr-ha3
|
||||
role: writer
|
||||
host: valkeyha3.zerops
|
||||
port: 6379
|
||||
password: ${valkeyha3_password}
|
||||
interval: 5ms
|
||||
- name: rom-ha3
|
||||
role: reader
|
||||
host: valkeyha3.zerops
|
||||
port: 6379
|
||||
password: ${valkeyha3_password}
|
||||
interval: 5ms
|
||||
- name: ror-ha3
|
||||
role: reader
|
||||
host: valkeyha3.zerops
|
||||
port: 7000
|
||||
password: ${valkeyha3_password}
|
||||
interval: 3ms
|
||||
- name: pub-ha3
|
||||
role: publisher
|
||||
host: valkeyha3.zerops
|
||||
port: 6379
|
||||
password: ${valkeyha3_password}
|
||||
channel: "vk:chaos:ha3"
|
||||
interval: 5ms
|
||||
- name: sub-ha3
|
||||
role: subscriber
|
||||
host: valkeyha3.zerops
|
||||
port: 6379
|
||||
password: ${valkeyha3_password}
|
||||
channel: "vk:chaos:ha3"
|
||||
|
||||
# ---- valkeyha1: pub/sub only ---------------------------------------------
|
||||
- name: pub-ha1
|
||||
role: publisher
|
||||
host: valkeyha1.zerops
|
||||
port: 6379
|
||||
password: ${valkeyha1_password}
|
||||
channel: "vk:chaos:ha1"
|
||||
interval: 5ms
|
||||
- name: sub-ha1
|
||||
role: subscriber
|
||||
host: valkeyha1.zerops
|
||||
port: 6379
|
||||
password: ${valkeyha1_password}
|
||||
channel: "vk:chaos:ha1"
|
||||
|
||||
# ---- valkeyha2: pub/sub only ---------------------------------------------
|
||||
- name: pub-ha2
|
||||
role: publisher
|
||||
host: valkeyha2.zerops
|
||||
port: 6379
|
||||
password: ${valkeyha2_password}
|
||||
channel: "vk:chaos:ha2"
|
||||
interval: 5ms
|
||||
- name: sub-ha2
|
||||
role: subscriber
|
||||
host: valkeyha2.zerops
|
||||
port: 6379
|
||||
password: ${valkeyha2_password}
|
||||
channel: "vk:chaos:ha2"
|
||||
Reference in New Issue
Block a user