provoost on Nostr: And one message could be an array containing the result of some query, i.e. all posts ...
And one message could be an array containing the result of some query, i.e. all posts by people I follow in the last day.
That's probably not much slower than going from json to binary and back. But haven't benchmarked.
Would be good is there was a relay health tool that checks if this is configurered.
Published at
2024-10-05 07:58:56Event JSON
{
"id": "7d157489395cda9f98324e90c0735d37afffcf5acc58b88f2d043c9474d3b03f",
"pubkey": "8685ebef665338dd6931e2ccdf3c19d9f0e5a1067c918f22e7081c2558f8faf8",
"created_at": 1728115136,
"kind": 1,
"tags": [
[
"e",
"aa9ccc0484ff5e2657e19a67d93de461a8625e396c9f83438e46f278fdb9b123",
"",
"root"
],
[
"e",
"6c95fd5ad1ca94187d8d0ea6570a6d0e5f725b5b88156548e182e0a6f859ccc8",
"",
"reply"
],
[
"p",
"2641c5060e4eec82089fdb2c9eb84714660fddf7c23a01d731311481983f0175"
],
[
"p",
"e88a691e98d9987c964521dff60025f60700378a4879180dcbbb4a5027850411"
],
[
"p",
"0aa39e5aef99a000a7bdb0b499158c92bc4aa20fb65931a52d055b5eb6dff738"
]
],
"content": "And one message could be an array containing the result of some query, i.e. all posts by people I follow in the last day.\n\nThat's probably not much slower than going from json to binary and back. But haven't benchmarked.\n\nWould be good is there was a relay health tool that checks if this is configurered.",
"sig": "9568c84d05ef508cbc3f749fca23ed3f52bbe28095b762a5737ce2bcc45c77eda94736a245acd50bf154126f7fb8e2b130161cb1b4a36ed7a0cc4badeaf482b2"
}