Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Data files and `flock()`

Started by Muut Archive 10 years ago · 2 replies · 397 views
10 years ago

I've started working on the webmentions plugin and it will require several data files (YAML) in the user/data folder. I have to be concerned, of course, with concurrent usage. I've relied on databases for so long, I just wanted to make sure I wasn't missing something. Exclusive flock() is still the preferred/only way to manage this situation, yes? Thanks!

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 2290 9 years ago
Archive · by Muut Archive, 9 years ago
2 1506 9 years ago
Archive · by Muut Archive, 9 years ago
2 4757 9 years ago
Archive · by Muut Archive, 9 years ago
1 3572 9 years ago
Archive · by Muut Archive, 9 years ago
3 1631 9 years ago