mleku on Nostr: yup... all that's needed is some more experimentation with distributed dynamic cache ...
yup... all that's needed is some more experimentation with distributed dynamic cache strategies and more use of the pub/sub model... the sub side is there already, and can be relatively simply made to run, but push side needs to be there too, or at least, a model of subscription in which the emitted events are in a queue and when a subscriber drops, they get sent the backlog they miss in the interim. this isn't really that complicated to implement either, in fact, i wrote a sub thing using SSE but all i have to do to make it resilient is create a primary subscription queue and progress monitoring of subscribers and a slightly different contract than the best effort that is the current standard.
Published at
2025-06-14 06:19:01Event JSON
{
"id": "9169ea9d9d9fd3a89c052aa07a584af1b26b33170fdcae302400f8428779be86",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1749881941,
"kind": 1,
"tags": [
[
"e",
"2d2fde8cb861a91d631a0fbf5851110bdbdd7cb3845a0dcea089a5942a438723",
"wss://nos.lol/",
"root",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"e",
"13d07e913c6e80490f80e0b2e64432e6b56921c12df731353335d152fce658bf",
"wss://nostr.mom/",
"reply",
"fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"fd208ee8c8f283780a9552896e4823cc9dc6bfd442063889577106940fd927c1"
]
],
"content": "yup... all that's needed is some more experimentation with distributed dynamic cache strategies and more use of the pub/sub model... the sub side is there already, and can be relatively simply made to run, but push side needs to be there too, or at least, a model of subscription in which the emitted events are in a queue and when a subscriber drops, they get sent the backlog they miss in the interim. this isn't really that complicated to implement either, in fact, i wrote a sub thing using SSE but all i have to do to make it resilient is create a primary subscription queue and progress monitoring of subscribers and a slightly different contract than the best effort that is the current standard.",
"sig": "186b5d48bc25d9c8431fff2286f9e707897af1dc128df691f5e132aa57ca2bcb9a85f14211a9f7a7855228d298f48cc0d7601056578d670ba3a6f5890c3083d2"
}