calle 👁️⚡👁️ on Nostr: I'm going to fix a bug I've found in todays code walkthrough. I want to make the ...
I'm going to fix a bug I've found in todays code walkthrough. I want to make the Nutshell mint parallelizable so that the mint can be deployed in multiple global locations and be highly available.
To do that, I already shaved off almost all state into the database. Today I realized that one of the locks I acquire to avoid race conditions is still in RAM so I'm going to use the database to acquire a global lock like most other parts of the code.
Published at
2024-01-19 04:59:57Event JSON
{
"id": "b30b654a882acac78c037159ed1054e566e5ca2c7b93c340eaa40af3cacc92e9",
"pubkey": "50d94fc2d8580c682b071a542f8b1e31a200b0508bab95a33bef0855df281d63",
"created_at": 1705640397,
"kind": 1,
"tags": [],
"content": "I'm going to fix a bug I've found in todays code walkthrough. I want to make the Nutshell mint parallelizable so that the mint can be deployed in multiple global locations and be highly available.\n\nTo do that, I already shaved off almost all state into the database. Today I realized that one of the locks I acquire to avoid race conditions is still in RAM so I'm going to use the database to acquire a global lock like most other parts of the code.",
"sig": "09e8f3ef47fc008e4883193fbea91d71c5d694df34c0eb9b51ce2db0e8a0d7368d3b55b4679bfefcade5b3093881ee1516f757dca247cedd1e1bd733f022870b"
}