-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Milestone
Description
Feel we should offer pluggable storage options.
Storage
- Database
- MongoDB - BSON. GridFS if doing larger files: http://www.mongodb.org/display/DOCS/GridFS
- CouchDB? Supports Attachments
- Filesystem
- Default to pairtree to keep structure organized
- Allow custom layout based on key for systems like Evergreen
Example EG:
For evergreen the structure expected is as such for local overrides
/openils/var/web/opac/extras/ac/jacket/{large|medium|small}/ISBN
patch for record level out there which does:
...jacket/{large|medium|small}/r/RECORD_ID
- Cloud Storage?
Derivatives
- Should we store the derivatives or create on the fly? Would say for filesystem it makes sense to store even if different directory structure. Allows easy CDN use.
- Store original? Or just largest of the derivative sizes?