trans-mission / cyto-project

The creative genome
0 stars 0 forks source link

Database Use Cases and Requirements #8

Open mmansion opened 10 years ago

mmansion commented 10 years ago

Several requirements for using a database in the nexus project are starting to emerge. I'm creating this issue in order to track those requirements and begin researching some options. If there aren't enough use cases then it might be better to opt for simple file configurations instead.


use cases


other considerations

Most of the requirements are going to be lightweight and the database tools should reflect that in terms of simplicity. We really don't need anything highly scalable. In fact an embedded system might be apt.

mmansion commented 10 years ago

A different consideration might be for the potential of video and media streaming. Some thoughts about having media support in the nexus are leading me to consider how streaming support from the center NodeJS server might be achieved. For this application I'm specifically targeting the Chrome browser, which requests videos using partial content requests. These could be generic flat files, but could also reside in MongoDB GridFS, which allow for larger files to be stored and served.

mmansion commented 9 years ago

After working on the codebase for a while and considering some of the initial data persistence requirements I've changed the db requirements and narrowed the my choice of database down significantly.

Essentially I'm interested in accomplishing the following:

Some of the other considerations listed above are still valid:

I'm currently contrasting SQLite3 and CouchDB via Nano