Simon Dassow on Nostr: npub105ve7…9hk8p If I get it right it's one of those points I've been talking about ...
npub105ve72qqmjxz08skum2lkds9qkj67689djwwr2a0qkrxts3hqydqm9hk8p (npub105v…hk8p) If I get it right it's one of those points I've been talking about for 10+ years while I was with the company. The auto/server-generated part is the problem, and the only way to get around it is to have clients generate random/non-conflicting UUIDs that allow to proceed on the client side without waiting for the ID to come back. That also works nicely for message based systems and eventual consistency. Clients that lack good randomization could get pre-generated IDs.
Published at
2023-08-18 11:16:40Event JSON
{
"id": "ba97eab387b12ee568af53932f9d9fca1ed2e6637b48a543920c3ad286bbd5b9",
"pubkey": "fea4dfc21950274ae3a8ac5f221229ac57718b48aac405dc2ad76d32e7e51f5a",
"created_at": 1692357400,
"kind": 1,
"tags": [
[
"p",
"7d199f2800dc8c279e16e6d5fb360505a5af68e56c9ce1abaf058665c237011a",
"wss://relay.mostr.pub"
],
[
"p",
"678fbdf04a787406ea6ccc5fd35c1cf57ac74ea9d0aa81df88f7a941f57e75e3",
"wss://relay.mostr.pub"
],
[
"e",
"146356512420c37785f3b773c99c0d409ece5d2a912d2c9c6cc0f28ce9e4ba0d",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://masto.ai/users/simondassow/statuses/110910334590699289",
"activitypub"
]
],
"content": "nostr:npub105ve72qqmjxz08skum2lkds9qkj67689djwwr2a0qkrxts3hqydqm9hk8p If I get it right it's one of those points I've been talking about for 10+ years while I was with the company. The auto/server-generated part is the problem, and the only way to get around it is to have clients generate random/non-conflicting UUIDs that allow to proceed on the client side without waiting for the ID to come back. That also works nicely for message based systems and eventual consistency. Clients that lack good randomization could get pre-generated IDs.",
"sig": "8891c7b90d1359d6906ccec546f15aa155ad932a997720347e5613bfcfdc882de2f8fa4cc9c84236fa6fd24aefbc54be87318509d95afe9619c378bd9d963026"
}