Daniel Wurzbacher on Nostr: npub1z2qdm…u3yuf Had a dev suggest that, to free up prod memory and prevent ...
npub1z2qdmfzhs2uwg8kmsh37xavt2hq48gch63e787ggd3s6mt8waxgsxu3yuf (npub1z2q…3yuf) Had a dev suggest that, to free up prod memory and prevent crashes, we should just run a second instance on the same db.
Shocker, when both run commits of 10k records at the exact same
Moment, Bad Things happened.
Easy to turn off the second instance. But was some brutal work to actually sort it all out…. All while CEO was blathering about words he didn’t understand to clients like “accuracy” and “high availability”.
Published at
2023-09-16 13:04:53Event JSON
{
"id": "c6f8800cee02688935f43ae8c710f1bf411ae412384237cc038950887a958913",
"pubkey": "b963ca050626f84d28325f636ea71e36d77eeda22cf7812f893c12d0bb806fb0",
"created_at": 1694869493,
"kind": 1,
"tags": [
[
"p",
"1280dda45782b8e41edb85e3e3758b55c153a317d473e3f9086c61adaceee991",
"wss://relay.mostr.pub"
],
[
"p",
"5cd2455904a2a7d230641187e77bbd38ce7906b108eeb6f44e2358f2fb26efb7",
"wss://relay.mostr.pub"
],
[
"e",
"5e822371be5f200af25567b2e5954bd4f852a2ce3b6a2fa50c8005cb2984d4bf",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://m.djw.li/users/_/statuses/111074967151064765",
"activitypub"
]
],
"content": "nostr:npub1z2qdmfzhs2uwg8kmsh37xavt2hq48gch63e787ggd3s6mt8waxgsxu3yuf Had a dev suggest that, to free up prod memory and prevent crashes, we should just run a second instance on the same db. \n\nShocker, when both run commits of 10k records at the exact same \nMoment, Bad Things happened. \n\nEasy to turn off the second instance. But was some brutal work to actually sort it all out…. All while CEO was blathering about words he didn’t understand to clients like “accuracy” and “high availability”.",
"sig": "235908aaeeb162ce5daa28a4b415e0ef03c148f4a1b33fb5cba66cf2fb8e97738893504e1d277a3f7828b6c7e8c3f8df79ddf58d9a2da73327f0340cdf6c558c"
}