Vitor Pamplona on Nostr: Better code quality, basically. With each subscription managed separately, we could ...
Better code quality, basically. With each subscription managed separately, we could time them better (sending most important stuff first, relay starts processing then send the rest), we could store the EOSE in the sub object itself instead of one EOSE for all queries involving a user and then having to find the minimum EOSE when more than one user is put together in the same call, etc..
Published at
2024-10-28 19:58:36Event JSON
{
"id": "69661c2caa3649225a54f5f4dc6623e739a0d02c27264499ba66b4eed79c9971",
"pubkey": "460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c",
"created_at": 1730145516,
"kind": 1,
"tags": [
[
"e",
"9bbb96288752b5d33abb2309cb9e43287fb3b8a7cbcc709b8481ebd60fad29d9",
"",
"root"
],
[
"e",
"a8b148ff87951297ec295bd7e0dde933f31731ba4576c611d142def21cfb156e"
],
[
"e",
"12979d8bfb37d721d5ef9cec576f8814431aada53faa0b4c6dc7316307b7331e",
"",
"reply"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
],
[
"p",
"7cc328a08ddb2afdf9f9be77beff4c83489ff979721827d628a542f32a247c0e"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f"
]
],
"content": "Better code quality, basically. With each subscription managed separately, we could time them better (sending most important stuff first, relay starts processing then send the rest), we could store the EOSE in the sub object itself instead of one EOSE for all queries involving a user and then having to find the minimum EOSE when more than one user is put together in the same call, etc.. ",
"sig": "1ca33725b37ccfc12508be3959528541ffbc4de9eac51d63a39f2a17819a45b98e6f4da41b3bf963ce811527e24cf4b9f866abf6407a1f3ee79ad52be5195d4c"
}