-
Ran a study last week. I decided to run multiple at the same time, but didn’t change it so each one logs out to a different file. Different clients were appending to the same server file at the same time. Turns out that’s a race condition causing overwritten data #PhDie
-
2 possible solutions: • Create a new file for each user and append a user’s data (a JSON string) to their own file • CouchDB CouchDB might be overengineering, but will probably be more reliable.