No but really what is a relay? Like what is it?? What is it actually? No one knows.

Replies (43)

Relays have 2 tasks: 1. Storing notes 2. Allowing people to query them When you connect to a relay, it uses the WebSocket protocol to communicate (that is what the wss:// is). HTTP is like asking someone something and getting an answer, WebSockets are like real time chat. Which is better for real time applications. When you first make and sign a note, you send it to a set of relays. Each relay takes your note and stores it, and adds it to indexes, like: - all kind 1 notes - all notes by semisol etc. Now, you can ask for it! You ask the relay for, for example all kind 1 notes from who you follow, and it checks the indexes for those, and sends you the matching notes it found. This is how a relay works. But on top there can be many features, for example: - nostr.land charges a fee for writing - many people host relays with whitelists - aggr.nostr.land reads all notes from other relays, spam filters them and stores them - hist.nostr.land retains multiple versions of events like a follow list - relays like blastr or nostr.land broadcast your events to hundreds of relays
This happens all the time on nostr. Relays are an alien technology #xenostr
He said what relays do. But what ARE THEY? we know what they do. Where do they live? What are they made of? How do we stop them?.etc
They live in the cloud They are made of silicon and code unlike weak bags of meat You cannot stop them. It is too late. You will be assimilated
Thanx for the explanation! You guys should post more educational content like this so dumb fucks like myself understand how nostr relays work. 🙌🏻
think of it this way, the verb "relay" is to pass something on, typically information, news, or signals, from one source to another. now imagine that medium 🔉 being the relay, the noun. Easy peasy.
You and I both likely showed up after much of the technical discussion has faded from conversation. I'm guessing a year or two ago it was everywhere.
Some new stuff in here I didn't know fully, but otherwise guess I had a good enough sense about it. Never understood what a websocket is, so maybe I'll make a point to read something about that (now that I know how they fit in). Would be curious to learn more about indexing, another time, as that sounds interesting but complex (and I'll likely never need to concern myself with details in practice since I don't dev)
WebSockets are simply a bidirectional communication protocol Both parties can talk at once instead of client asks, server responds Indexing is like making a directory of all noted that have certain criteria.
I see. It at all what I had imagined. And yes, I have a vague sense of what indexing does, from having joined some large dbs here and there along the way, and learning it worked faster if I enabled some index option. But I'm sure the details are interesting, and that there's lots of room for different choices that fall under the heading of "indexing".
Default avatar
John Deere 5 months ago
ᴘᴇᴏᴘʟᴇ ɴᴇᴇᴅ ᴘʀᴏꜰᴇꜱꜱɪᴏɴᴀʟ ʜᴀᴄᴋᴇʀꜱ ᴛᴏ ʜᴀɴᴅʟᴇ ꜱᴏᴍᴇ ɪꜱꜱᴜᴇꜱ ʟɪᴋᴇ ꜱᴘʏɪɴɢ ᴏɴ ᴘᴀʀᴛɴᴇʀ, ʀᴇᴄᴏᴠᴇʀʏ ᴏꜰ ʟᴏꜱᴛ ꜰᴜɴᴅꜱ, ᴅᴇʟᴇᴛɪɴɢ ᴄʀɪᴍɪɴᴀʟ ʀᴇᴄᴏʀᴅꜱ, ʀᴇᴄᴏᴠᴇʀʏ ᴏꜰ ꜱᴏᴄɪᴀʟ ᴍᴇᴅɪᴀ ᴀᴄᴄᴏᴜɴᴛꜱ. ᴀʟʟ ᴛʜᴇꜱᴇ ᴄᴀɴ ᴏɴʟʏ ʙᴇ ᴅᴏɴᴇ ᴡɪᴛʜ ᴀ ɢᴏᴏᴅ ʜᴀᴄᴋᴇʀ. ᴛʜᴇʀᴇ ᴀʀᴇ ꜱᴏ ᴍᴀɴʏ ꜰᴀᴋᴇ ʜᴀᴄᴋᴇʀꜱ ᴏᴜᴛ ᴛʜᴇʀᴇ ꜱᴏ ᴡʜɪʟᴇ ꜱᴇᴀʀᴄʜɪɴɢ ꜰᴏʀ ʜᴀᴄᴋᴇʀꜱ ʏᴏᴜ ꜱʜᴏᴜʟᴅ ʙᴇ ᴄᴀʀᴇꜰᴜʟ. ɪ ʀᴇᴄᴏᴍᴍᴇɴᴅ ᴊʙᴇᴇ ꜱᴘʏ ᴛᴇᴀᴍ : ᴏɴ ɪɴꜱᴛᴀɢʀᴀᴍ ᴄᴏɴʟᴇʏᴊʙᴇᴇꜱᴘʏ606@ɢᴍᴀɪʟ.ᴄᴏᴍ ᴛᴏ ʙᴇ ᴛʜᴇ ʙᴇꜱᴛ. ᴍᴀɴʏ ᴘᴇᴏᴘʟᴇ ᴛᴀʟᴋ ᴀʙᴏᴜᴛ ᴊʙᴇᴇ ꜱᴘʏ ᴛᴇᴀᴍ ᴀɴᴅ ᴛʜᴇɪʀ ɢᴏᴏᴅ ᴡᴏʀᴋꜱ ᴏɴ ʀᴇᴅᴅɪᴛ ᴀɴᴅ ᴏᴛʜᴇʀ ᴘʟᴀᴄᴇ ʏᴏᴜ ᴄᴀɴ ꜱᴇɴᴅ ᴍᴇꜱꜱᴀɢᴇ ᴛᴏ ᴛʜᴇᴍ ᴀʟꜱᴏ ᴏɴ ᴛᴇʟᴇɢʀᴀᴍ +44 7456 058620