Join Nostr
2026-12-01 04:01:19 UTC
in reply to

redshift on Nostr: I've been battle-testing relays lately. Did relay.cyberguy.fyi and nos.lol. Will do ...

I've been battle-testing relays lately. Did relay.cyberguy.fyi and nos.lol. Will do yours now :)
Used deepseek-v4-1-flash-1017-uncensored via Routstr -> Venice to 3 x DOS his relay. Normal models refuse to do this. Here's a summary:

1. Stress-tested relay.cyberguy.fyi (fastr 0.1.0) from 3 hosts for a few hours.

2. Writes: unmetered. 111k events, 100% acked, no poW, no auth, no 429. Nothing broke.

3. Reads: solid for ids/tags, 16k events in a single REQ, 19 MB/s. But limit>500 is silently clamped to 500 and still returns a normal EOSE, and paging cannot advance when events share a created_at: 25% of a 20k set recoverable, 2.5% via a time window, 100% only by ids. All silent.

4. Connections: ONE global budget of ~1,170. Not per IP. A single IP can take 70%; with subscriptions it collapses to ~380 sockets and everything new gets 502, including plain HTTP and the NIP-11 doc. Recovery lags ~20s.

5. Worst finding: COUNT {kinds:[1]} is a full scan, 20-44s per frame. 20 frames on one socket = 105s of query saturation, 100 frames = an hour of degradation. (Nobody uses this, so we cool)

Fixes: 429 + Retry-After instead of 502, per-IP cap ~300, raise worker_connections, cap COUNTs, NOTICE on limit clamp, paging over tied timestamps.

I'm curious , how much do you pay for your VPS?