cesardias on Nostr: My pagination range is 4 hours, works well for most accounts, but won't work well for ...
My pagination range is 4 hours, works well for most accounts, but won't work well for accounts with low activity, profile feeds are much higher ranges, I am still looking for a better solution limited base, but I struggled to get the until value.
I use RxJS extensively throughout the codebase, and I have very little use of promises, my subscription approach is all on top of webSocketSubject + multiplex which makes everything easy and almost no imperative code, also very easy to write unit tests, would be happy to talk about it.
Published at
2025-02-08 14:27:33Event JSON
{
"id": "07ffa3dcc19a23d4e5faf544bfc73db320f8f830aae2bb7c9c796d4b650423f4",
"pubkey": "c6603b0f1ccfec625d9c08b753e4f774eaf7d1cf2769223125b5fd4da728019e",
"created_at": 1739024853,
"kind": 1,
"tags": [
[
"e",
"8b792308dc23f66a9143fbed90d78e41ad854b0a4c86ef7641864e2ffc4492f9",
"wss://nos.lol",
"root",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
],
[
"e",
"afa3317ac68cae46fb0305911f6e26d8a7b4366065158d672a6321ecf45f50a7",
"wss://nostrue.com",
"reply",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5"
],
[
"p",
"266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5",
"wss://satellite.hzrd149.com"
],
[
"client",
"nosotros",
"31990:c6603b0f1ccfec625d9c08b753e4f774eaf7d1cf2769223125b5fd4da728019e:1728437063755"
]
],
"content": "My pagination range is 4 hours, works well for most accounts, but won't work well for accounts with low activity, profile feeds are much higher ranges, I am still looking for a better solution limited base, but I struggled to get the until value.\n\nI use RxJS extensively throughout the codebase, and I have very little use of promises, my subscription approach is all on top of webSocketSubject + multiplex which makes everything easy and almost no imperative code, also very easy to write unit tests, would be happy to talk about it.",
"sig": "f780ac08e2d43815a5f305b4def5fd38e018b5a89ab8a56ca8bf14134c4159ba56129917d7b8cc9a4087cf2de570083a33a69883fa791113ccf4ab59a71862dc"
}