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 · 327 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 1360 9 years ago
Archive · by Muut Archive, 9 years ago
2 939 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2958 9 years ago
Archive · by Muut Archive, 9 years ago
3 1122 9 years ago