Thread

Zero-JS Hypermedia Browser

Relays: 5
Replies: 13
Generated: 00:19:41
Has anyone considered making an ephemeral-message relay based on Redis/Valkey? I could see it being a good data store architecture for large group chats, message passing servers, and other applications that require only transient storage of notes.
2025-09-18 21:14:06 from 1 relay(s) 3 replies ↓
Login to reply

Replies (13)

Yeah you're probably right. Redis is really designed for smaller bits of data than most Nostr notes are. I was thinking about the advantages of fast in-memory databases for ephemeral data. A memory DB designed for larger chunks of data might ultimately be better, but I don't know what that space looks like all that well.
2025-09-18 21:50:53 from 1 relay(s) ↑ Parent 1 replies ↓ Reply
At my day job I recently set up a tiered local/remote cache for a server that uses local memory first, then Valkey as a remote. The Valkey makes sharing across Docker image instances easy.
2025-09-18 21:57:58 from 1 relay(s) ↑ Parent 1 replies ↓ Reply