zen on Nostr: Interesting. I caught up on this thread because I was the person who pointed Tim ...
Interesting. I caught up on this thread because I was the person who pointed Tim towards Websockets / SSE for his ongoing projects. I also believe in only using the most basic tool for the job, but do you think that it's less complex for clients to make one query, wait until it's resolved and then make another?
I think that EOSE is a fairly useful tool to combine those two requests into one, and any half-decent implementation can send a CLOSE after that point if they aren't interested in subscribing.
Published at
2025-02-26 14:27:30Event JSON
{
"id": "7801837e0954b8f4a196d6d6e8733595d2ad0251baa324ef56584d8c38d72c02",
"pubkey": "3a87523343d22ca5c1cacaa4ff07ef5869e066ead49eb62d8f8496aa45d52797",
"created_at": 1740580050,
"kind": 1,
"tags": [
[
"e",
"882c217f8997903765a7ab0558667f91afd2ea25d7e147166e9561f854671759",
"ws://192.168.18.7:7777",
"root"
],
[
"e",
"370a37ae233b8527110d6a570f4b67067811f212e6b2871c1d1ba0ed5ddbab9a",
"ws://192.168.18.7:7777",
"reply"
],
[
"p",
"06b7819d7f1c7f5472118266ed7bca8785dceae09e36ea3a4af665c6d1d8327c"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
],
[
"r",
"wss://relay.damus.io/"
],
[
"r",
"wss://relay.credenso.cafe/"
],
[
"r",
"wss://relay.primal.net/"
]
],
"content": "Interesting. I caught up on this thread because I was the person who pointed Tim towards Websockets / SSE for his ongoing projects. I also believe in only using the most basic tool for the job, but do you think that it's less complex for clients to make one query, wait until it's resolved and then make another?\n\nI think that EOSE is a fairly useful tool to combine those two requests into one, and any half-decent implementation can send a CLOSE after that point if they aren't interested in subscribing.",
"sig": "9493c097c6f44d226b92e02870a70e6551daf01a060943b5212a5c6659fa05ba640cddd8e0a3ae72988c076843907381f779f9dde03d1eb27944300332703f47"
}