News for hackers. Stuff that matters.
Re:Halfbakery by derefr on Friday November 10, 2017 @12:53PM (#15671601)
It's funny—you just need a cgi-bin:

1. with 1777 permissions (sticky bit set); and

2. rsynced between a cluster of systems;

and you've got a modern Function-as-a-Service backend.

Re:Halfbakery by sehugg on Friday November 10, 2017 @07:36PM (#15674285)
And of course you want to use a flat file database on an NFS server, maybe using some cool flock()s to synchronize writes :)
Re:Halfbakery by smueller1234 on Saturday November 11, 2017 @03:48AM (#15675546)
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?
Re:Halfbakery by lscotte on Saturday November 11, 2017 @10:28AM (#15676697)
I think you mean setuid bit. The sticky bit (on binaries) went away when we got VMM/swap.
Re:Halfbakery by derefr on Saturday November 11, 2017 @02:00PM (#15677578)