Alex Gleason on Nostr: Ditto Relay has no rate limiting. It's survived this way for 6 months handling all ...
Ditto Relay has no rate limiting. It's survived this way for 6 months handling all the traffic people can possibly throw at it. Finally it has started to struggle doing everything on Bun's single thread. Now I rearchitected it to distribute load across Web Workers. See, JavaScript can be multithreaded! I avoided rewriting it in Rust. Let's take this to the limit of my machine before I'm forced to add any sort of rate limiting.
Published at
2026-07-21 17:11:05 UTCEvent JSON
{
"id": "5881a10fdee3a6cad9ed584a91507cea0944ec650b5c77f61f1f5d7dd8e87acd",
"pubkey": "0461fcbecc4c3374439932d6b8f11269ccdb7cc973ad7a50ae362db135a474dd",
"created_at": 1784653865,
"kind": 1,
"tags": [
[
"client",
"Ditto",
"31990:781a1527055f74c1f70230f10384609b34548f8ab6a0a6caa74025827f9fdae5:ditto"
]
],
"content": "Ditto Relay has no rate limiting. It's survived this way for 6 months handling all the traffic people can possibly throw at it. Finally it has started to struggle doing everything on Bun's single thread. Now I rearchitected it to distribute load across Web Workers. See, JavaScript can be multithreaded! I avoided rewriting it in Rust. Let's take this to the limit of my machine before I'm forced to add any sort of rate limiting.",
"sig": "db3941ed7be16be2733d8729f76dba0059b8856a45d5339c18edf2d1ddc8ba112f80ed943d5163d8b10efc4ae75bdbde6cd0c419e6ab04a6bfdd9f36ccc87e13"
}