MachuPikacchu on Nostr: Doing as little as possible in the runtime makes a lot of sense. Less overhead, less ...
Doing as little as possible in the runtime makes a lot of sense. Less overhead, less to maintain, etc.
As for the freshness, I was originally thinking perhaps latency sensitive function calls might pose a problem if the process crashes and recovers seconds later and responds with data that’s no longer relevant. Given these are pure functions it makes total sense to just pass along the timestamp (or increment a counter) and these considerations are going to be app dependent anyway.
I’m really excited about this project and plan to experiment with it in the near future. The docs are well written too. Thank you for the work and the thoughtful response!
Published at
2024-08-09 16:24:18Event JSON
{
"id": "7cd44d4d64ae44f3ecd47b1ea2a37b70be50c6120da4c30d39145cab51b01e32",
"pubkey": "1e908fbc1d131c17a87f32069f53f64f45c75f91a2f6d43f8aa6410974da5562",
"created_at": 1723220658,
"kind": 1,
"tags": [
[
"e",
"74f0f7005abe68d076743f14c2f3181d22947e4b69832a1f548fe3b6fc4a7b3a",
"",
"root"
],
[
"e",
"8bab7054ca286c92a03aa4183748fbda992cf2c3f8c3557ef27a8aaee51c1328",
"wss://relay.nostrati.com",
"reply"
],
[
"p",
"2efaa715bbb46dd5be6b7da8d7700266d11674b913b8178addb5c2e63d987331"
]
],
"content": "Doing as little as possible in the runtime makes a lot of sense. Less overhead, less to maintain, etc.\n\nAs for the freshness, I was originally thinking perhaps latency sensitive function calls might pose a problem if the process crashes and recovers seconds later and responds with data that’s no longer relevant. Given these are pure functions it makes total sense to just pass along the timestamp (or increment a counter) and these considerations are going to be app dependent anyway.\n\nI’m really excited about this project and plan to experiment with it in the near future. The docs are well written too. Thank you for the work and the thoughtful response!",
"sig": "7e886cb7ecb85f5ae7e64c50cd2f106054061798924a57661adefb813109f9b9e134b8361dd1419267d62e5305a3853c60cd3b0b925f43fd8a53e7530db4e60e"
}