Silberengel on Nostr: You read by requesting the relay find information and send it to you, according to ...
You read by requesting the relay find information and send it to you, according to some filter. (Filters are boolean, unlike queries, so they tend to be cached after use for better performance when re-requested, but I digress.)
So, the cost is in filtering and returning the result, and possibly in caching the filter.
You can overwhelm a relay by requesting lots and lots of filters or lots of npubs requesting something be filtered.
AUTHing to read means that you have to identify yourself to the relay, and be approved, before it runs a filter.
I think. Maybe. Just guessing. Don't really know. Ask someone with more clue. HTH.
Published at
2024-09-21 16:03:07Event JSON
{
"id": "501a397d71d874f877ed521c76e970a5303a4d4a222cbfdb6f1cbc40de99c1dc",
"pubkey": "fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1",
"created_at": 1726934587,
"kind": 1,
"tags": [
[
"e",
"6af756b54ae91e2376580be5011063612f6dc3685b5b50e28c8348ed736adbb2",
"wss://christpill.nostr1.com/",
"root"
],
[
"e",
"657b62b8c2d87e699cdb36f851fc8feea6ff67fb5c5fdeaa14e733609fd69b48",
"",
"reply"
],
[
"p",
"a9434ee165ed01b286becfc2771ef1705d3537d051b387288898cc00d5c885be",
"",
"mention"
],
[
"p",
"036533caa872376946d4e4fdea4c1a0441eda38ca2d9d9417bb36006cbaabf58",
"",
"mention"
]
],
"content": "You read by requesting the relay find information and send it to you, according to some filter. (Filters are boolean, unlike queries, so they tend to be cached after use for better performance when re-requested, but I digress.)\nSo, the cost is in filtering and returning the result, and possibly in caching the filter.\n\nYou can overwhelm a relay by requesting lots and lots of filters or lots of npubs requesting something be filtered.\n\nAUTHing to read means that you have to identify yourself to the relay, and be approved, before it runs a filter.\n\nI think. Maybe. Just guessing. Don't really know. Ask someone with more clue. HTH.",
"sig": "e20d15fcd04859c7f32b0832a78e131ac864f859f9d5bfa088026716c8347d72ee933a9205f04b69ee0584f954d862a5c65f1dcf2c85e84616482b06aa34e6a9"
}