News for hackers. Stuff that matters.
Re:Things Unix can do atomically (2010) by toast0 on Monday May 30, 2016 @07:49PM (#11803831)
Yes, depending on how you store the relationships, its possible that when a adds b to its list of friends, a could be added to b's list of 'friendofs'. If they're stored separately, the edit may not be atomic. If it's stored in a single place (queryable from either direction), it's generally going to be atomic, unless you're doing something way outside the norm.

There are no comments on this comment yet.