wakoinc on Nostr: I do this for tags. The issue is relays serve json, and unless you store the json in ...
I do this for tags. The issue is relays serve json, and unless you store the json in a ready format, generating json events on demand is very computational from lots of refs/joins.
Published at
2023-04-18 14:47:45Event JSON
{
"id": "342bfc16cae216fa89f01798eb28c11ae9b917aa53dcbf0535e22efc80a6c0de",
"pubkey": "b2dd40097e4d04b1a56fb3b65fc1d1aaf2929ad30fd842c74d68b9908744495b",
"created_at": 1681829265,
"kind": 1,
"tags": [
[
"e",
"d7f36f2e5e8b2f0c93fbcde6c24b6c0ea1f70df24ee6383650e6fc7100396116"
],
[
"e",
"57cee256dac2b348cb6032589a72bb9c4eca7667ae45c1ed8f295811bb69414b"
],
[
"p",
"132f5f2b368b4c6d04002efcc9058fc8aecacc88bdd1a67d4785012f04905181"
],
[
"p",
"75da94027ad408bc2faffeb1e67d71babe8d78d89c3620da212303b877a65b5c"
],
[
"p",
"32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245"
],
[
"p",
"985a7c6b0e75508ad74c4110b2e52dfba6ce26063d80bca218564bd083a72b99"
]
],
"content": "I do this for tags. The issue is relays serve json, and unless you store the json in a ready format, generating json events on demand is very computational from lots of refs/joins. ",
"sig": "58006664401511b1599a4f6d0cf730d52637e33c1946fb4dbdc0e5cc0cb36170ce788dad29015b0063b4597a0cc70f8a67f125ebb60a270e2e5cde9bdf906b30"
}