Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Data files and `flock()`

Started by Muut Archive 10 years ago · 2 replies · 329 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 1362 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1124 9 years ago