Comments (2)
Thanks @petrocket, its nice to get such constructive feedback :) I'm glad it comes to use,
I'll take a pull request to the devel
branch, your wellcome to add doc to the README.MD
- Hope the Meteor guys will soon implement the new packages + documentations specs
(I see you've added delete
and update
that's great! - maybe a comment / todo: The remove should call a server method or have add an observer for deleting the chunks and cache files related)
The publish method takes an extra option when autopublishing: {is_auto: true}
It's not documented but it stops the console warnings when using the autopublish package.
Meteor.publish(self._name+'.files', function () { //TODO: nullable? autopublish?
return self.files.find({});
}, {is_auto: true});
nr. 2 Is a wierd async one, but I agree it's nice to be able to see how many chunks actually landed safely in the db, could be nice with a handlebars helper {{progress}}
for the actual upload/download status.
Btw.: Do you have any stats/issues on upload speeds?
It's using the ddp protocol, I'm thinking about testing changing to BSON eg.: data: { binary: data }
- If speed still an issue then perhaps setting up a seperate server instance for dedicated
upload/download.
from meteor-collectionfs.
Pull request submitted! Not sure if I did that right - first time and all.
I've been using CollectionFS on a site where I upload lots of images (~100K - 500K) and make thumbnails. Speed doesn't seem to be an issue for me. The biggest problem so far is that there doesn't seem to be any throttling on the number of simultaneous uploads so occasionally the server runs out of memory when I upload 20+ images and the server is trying to create thumbnails (I don't write the original files to disk, just the resized images).
BSON might be a good option for large files, which will be necessary to support for many other kinds of apps but for small uploads ddp is fine I think.
from meteor-collectionfs.
Related Issues (20)
- Failing to remove file
- Remove "cfs_gridfs._tempstore.chunks"
- GraphicsMagick - Cannot find name 'gm' (Warning) HOT 3
- the uploaded images size is zero
- Broken links in the main documentation HOT 1
- display image from local drive HOT 1
- collectionFS HOT 1
- meteor-collectionFS Can't upload HOT 1
- Crash in meteor 1.7 on polling collection HOT 1
- file HOT 1
- Seems 0.11 throwing some errors never seen before
- How to cancel upload queue ?
- Missing copies and chunkId property as well as the chunk itself on db.cfs.attachments.filerecord entries, happens randomly
- Get error on `Meteor Production deploy` ($ meteor build....)
- How to multi download on one button
- Looking for maintainers - please reach out! HOT 12
- When mongoDB split read and write, "find after update" will be wrong HOT 2
- I can't config it to the Dropbox ! Who have videos config it ? Give me please
- Error while inserting HOT 1
- Error in method "/cfs/files/:value/:value/", Error: TypeError: Cannot read property 'ObjectID' of undefined
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meteor-collectionfs.