Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

He probably uses flock(2)


But isn't that hard to get right? At least if you using something like sqlite you get consistency guarantees.

Consider your process writing to the file and dying during write() - do you recover and repair the file after you reschedule?


Ramdisk maybe?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: