Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-231

GridStore upload/download should be able to happen at the same time

    • Type: Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:

      Looking at your nodejs GridStore functionality, it appears that there's an opportunity to increase the functionality of the GridStore.

      Currently, if you upload a file to mongo through GridStore, and another process wants to download that file, then it has to wait for the entire upload to complete, before it starts the download. The way the data is stored in the database, this isn't necessary. If fs.files contains information about the content length, then the download process could just continually pull in the data as it gets uploaded, allowing for a quicker downstream process.

      I may create a separate nodejs module that handles this downloading, but you may want to consider adding it to your library.

            Assignee:
            christkv Christian Amor Kvalheim
            Reporter:
            yourdeveloperfriend Nathan Tate
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: