openculinary / knowledge-graph

The RecipeRadar knowledge graph stores and provides access to recipe and ingredient relationship information.
GNU Affero General Public License v3.0
10 stars 0 forks source link

Caching support and refactoring #3

Closed jayaddison closed 4 years ago

jayaddison commented 4 years ago

Various entity types are handled during construction of the ingredient hierarchy:

This changeset introduces optional filesystem-backed storage of these entities, primarily in support of serving the hierarchy via a web service once it is generated, but also to aid development iteration speed. Absence of files (i.e. when the service is first starting, or via manual removal in development environments) causes the cache to be regenerated at runtime.

This changeset also mixes in a few small items handled during refactoring: