Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Data files and `flock()`

Started by Muut Archive 10 years ago · 2 replies · 409 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 2538 9 years ago
Archive · by Muut Archive, 9 years ago
2 1665 9 years ago
Archive · by Muut Archive, 9 years ago
2 4950 9 years ago
Archive · by Muut Archive, 9 years ago
1 3772 9 years ago
Archive · by Muut Archive, 9 years ago
3 1781 9 years ago