Post AihshiLFD3UArLWv7w by hazelweakly@hachyderm.io
 (DIR) More posts by hazelweakly@hachyderm.io
 (DIR) Post #Aihshfh73ICCeIjqIS by hazelweakly@hachyderm.io
       2024-06-08T04:28:03Z
       
       0 likes, 0 repeats
       
       One of the hardest things for people to understand with distributed systems is that eventual consistency is the same thing as eventual inconsistency. The very same pattern that lets you non atomically deal with things also ensures that eventually you'll have a system that doesn't match your understanding.Resources will go stale, things will go missing, stuff will exist without ever having been created, and data will be destroyed that never got manifested.
       
 (DIR) Post #AihshgjdBPnvsOvMrQ by hazelweakly@hachyderm.io
       2024-06-08T04:30:22Z
       
       0 likes, 0 repeats
       
       "how do you prevent this?"You don't. You figure out what flavor of wrong you want and what type of inconsistency is tolerable to you and you embrace the suffering and learn to mitigate the particularly painful outliers that bite youIs bootstrapping your worst enemy? Regularly destroy and recreate the system to ensure no cycles exist in it. Of course, that means it will inevitably incur emergent instability and resource leaks. What's your preference?
       
 (DIR) Post #AihshhXGCtVGMK90DY by hazelweakly@hachyderm.io
       2024-06-08T04:34:22Z
       
       0 likes, 0 repeats
       
       "I know! I'll keep a fresh system around and recreate it to ensure no cycles, and I'll keep an old one around to ensure no long term leaks exist"Okay, suit yourself. I see you enjoy the wonders of non-deterministic metastability that comes from adaptive concurrency controls.Oh, you don't? So you have hard isolation between the two systems? I see. That gets you non-deterministic metastability but without needing adaptive concurrency controls. Fascinating innit?
       
 (DIR) Post #AihshiLFD3UArLWv7w by hazelweakly@hachyderm.io
       2024-06-08T04:38:39Z
       
       0 likes, 0 repeats
       
       Dangling, stale, metastable, zombie. That only touches the very surface"This system only restarts with warmed caches""This system can't be rebooted and scaled up at the same time""This system can do anything except be highly available during updates""This system can only be restarted in topo-sort order""This system has a deadlock if you drain it geographically from east to west during daylight savings time"Pick your choice of madness, but don't pretend you won't be drinking it dry
       
 (DIR) Post #AihshimBat2KCu8R7Y by fcktheworld587@social.linux.pizza
       2024-06-08T04:40:43Z
       
       0 likes, 0 repeats
       
       @hazelweakly the poetry here was intentional, right?