Per-Starke / NutritionRecSys

The repo for the software for my bachelor-thesis about a recommender system for use by nutrition coaches, recommending recipes with fitting macronutrients and suitable for the taste of the customer
Other
2 stars 0 forks source link

Creating user/coach leads to internal server error on live version (works fine locally) #113

Closed Per-Starke closed 1 year ago

Per-Starke commented 1 year ago

Concurrent writing, even if fixed now, still a problem?

gernotstarke commented 1 year ago

writing files from several parallel sessions is deadly, and won't work reliably.

(That's what databases have been invented for, to resolve such issues)

gernotstarke commented 1 year ago

one idea: have a ratings file per user, that avoids parallel writes (but increases file overhead).