sahanbull / x5learn

Web frontend for X5GON project
Apache License 2.0
0 stars 0 forks source link

Move the Youtube dataset to the database #73

Closed stefankreitmayer closed 5 years ago

stefankreitmayer commented 5 years ago

The dataset contains representations of Youtube videos:

Currently, these representations are loaded from local CSV/JSON files and stored in RAM, which doesn't scale well. They should be stored in a database.

X5learn needs to store some additional properties which the current X5GON API doesn't provide yet. Thumbnail images and wikichunks are just two examples of the set of required properties, which will likely evolve during rapid design iterations that will involve real users and a broad variety of media types.

The x5learn database is the best place to store this information because it allows us to experiment without stepping on anyone's toes. Once we have identified the "one schema to rule them all", we should then decide whether to keep the extra data in the dashboard database or propose an appropriate extension to the X5GON platform.

Does this make sense?

For now, I propose adding an "oers" table to the x5gon database, including the following columns:

Tasks