Project Elbow: Files Collection

I’ve added a separate collection to map names to files.

Two reasons:

First, the GridFS collection will eventually be sharded and I’m pretty sure I read somewhere that you don’t want to be adding indexes to sharded collections — you want a separate collection to contain your indexed items and then use the primary shard key to get the payload.

Second, I need to support multiple links to a single file.

Anyway, I also created the first administration script — this one just uploads files.

Also: Earlier this evening I started signing all the requests to the service.

Next: Create the first code module (a separate SWF that will be loaded by the AIR application).  I needed to be able to easy upload it and give it a name.


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.