4 ms·
Any software patterns comparable to this? (Would help to have a use-case example. And how the pattern helped Vs. what was being done before)
by symplee 7y ago
Any software patterns comparable to this?
(Would help to have a use-case example. And how the pattern helped Vs. what was being done before)
- ganzuul 7y agoDatabase operations. ACID compliance. Could also be safety critical to keep your state stateful.
- pjc50 7y ago"Lock" as in mutex? Although those don't come with a tag, which could be very handy when debugging.
- fredley 7y agoDepending on the system, I think you can find out who owns the lock.
- gtkspert 7y agoHere's one: https://www.reddit.com/r/announcements/comments/4y0m56/why_reddit_was_down_on_aug_11/ https://www.reddit.com/r/announcements/comments/4y0m56/why_r... Failure to isolate (lock-out) puppet from switching things back on during a migration.
- Cthulhu_ 7y agoLocking files in SVN so other people can't edit them until you've unlocked it again. I've never seen it used, and the only references I can think of was where it was just annoying, if not a risk (someone locking a file then leaving over the weekend or the company entirely).
- PudgePacket 7y agoI've seen it used in games. Often serialised assets won't be text diff friendly. Two people editing the same data will conflict and it won't be possible to merge the result. The solution is only one person checks out the file at a time.