Hacker News new | ask | show | jobs
by sehugg 3145 days ago
And of course you want to use a flat file database on an NFS server, maybe using some cool flock()s to synchronize writes :)
1 comments

Only to then realise that naive flock() won't cut it on your basic NFS setup so you resort to bizarre tricks like using hard links to the lock file to emulate proper locking on NFS because they can tell you which of the racing clients won. Those were good times... right?