fiatjaf on Nostr: If you're going for raw performance and you don't care about backwards-compatibility ...
If you're going for raw performance and you don't care about backwards-compatibility or about breaking the openness and simplicity of the protocol there are ways to do things that are much better than JSON over WebSockets or HTTP.
Published at
2025-02-01 11:49:41Event JSON
{
"id": "0000642cff903cd2193c8c53f2d69332064205a207ecc5038a8385064e128df0",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1738410581,
"kind": 1,
"tags": [
[
"p",
"f683e87035f7ad4f44e0b98cfbd9537e16455a92cd38cefc4cb31db7557f5ef2"
],
[
"p",
"d04ecf33a303a59852fdb681ed8b412201ba85d8d2199aec73cb62681d62aa90"
],
[
"p",
"06b7819d7f1c7f5472118266ed7bca8785dceae09e36ea3a4af665c6d1d8327c"
],
[
"e",
"edc8516b80dec29430d463199d362e6f559193fac6ccd56c7de74ed9ca543667",
"wss://relay.damus.io/",
"root",
"f683e87035f7ad4f44e0b98cfbd9537e16455a92cd38cefc4cb31db7557f5ef2"
],
[
"e",
"cef2933bbf9c7392d14f72124bb4449369d7d0f0d0758fcc183a1a45bf0cd770",
"wss://wot.utxo.one/",
"reply",
"f683e87035f7ad4f44e0b98cfbd9537e16455a92cd38cefc4cb31db7557f5ef2"
],
[
"nonce",
"9223372036854777957",
"16"
]
],
"content": "If you're going for raw performance and you don't care about backwards-compatibility or about breaking the openness and simplicity of the protocol there are ways to do things that are much better than JSON over WebSockets or HTTP.",
"sig": "2d390b91d8bcaf7071ab68790a768269976923c91be0616fcac48cbe4b3186b52f242b8fac08a84db7e63e616bbae8f7df3f4a49b315a119d34c9fec964da0a4"
}