Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Saurabhkalra78
@Saurabhkalra78
The benefit of adding the issues here is that we will have all the history and we can always go back and refer to it. This would be for every bodies benefit.
RamyElkest
@RamyElkest
CollectionFS/Meteor-CollectionFS@b9af68a Deprecated /sob
Razvan Margineanu
@verrochio_twitter
Why is collectionfs deprecated, is it replaced by something else?
Immanuel Valle
@Cyval
anyone has a fork on this one?
markmitton
@markmitton
Was looking for this type of functionality but like Razvan Margineanu I see it's deprecated. Does anyone know why or what to use instead?
Razvan Margineanu
@verrochio_twitter
I ended up using UploadFs
Jalik uploadfs
It works for small files.
RamyElkest
@RamyElkest
Hey guys
anyone deployed cfs:gridfs to digitalocean
uploading files seems painfully slow, not sure if its cfs or DO :S i assume the former :/
6mb takes ~5 mins
Razvan Margineanu
@verrochio_twitter
Use s3 its really cheap and fast
I stoped using collectionfs and used the node aws sdk to upload files to s3. Manually added the file urls to the db.
I got 9MB/sec upload.
RamyElkest
@RamyElkest
ah damn, that's pretty good
yeah i aim to migrate to s3 once i release, but wanted to keep it local during development
hmm, do you have experience of aws sdk vs slingshot?
Razvan Margineanu
@verrochio
not really, i read it up as i need to :)
RamyElkest
@RamyElkest
:+1:
squeal
@squeal
@RamyElkest if you want to get files from the client to s3, use slingshot. It works great and goes from client directly to s3, withoutgoing in and out of your server -> faster AND cheaper.
squeal
@squeal
CollectionFS is deprecated because it is just really really bad: It's way slower and also more complicated than basically anything else, db-storage is usually a lot more expensive than just storage, and it can do so very very little (which leads to my following problem). So basically you get all cons, no pros. No matter with what you compare it.
I need help too: I'm trying to get a file out of gridFS on the server. And no, not with .url() (for reasons). I tried .createReadStream() and .createWriteStream(), both didn't work for me. Stuck on this for 2 days now :-( . Any help very much appreciated.
squeal
@squeal
Finally got it working! Big part of the problem was the fact that code, that surprisingly turned out to be working when part of the project source code, didn't work when trying it in meteor shell (which I used, faster than waiting for meteors autorestart everytime). Didn't know that code behaviour could be so different in the code and in the meteor shell. The other Part of the problem is the "documentation" of CollectionFS/GridFS (really just a 'how to get started' on Cfs, an offensive joke on Gfs).
squeal
@squeal
BTW, the code I used was fs = Meteor.npmRequire 'fs' f = fs.createWriteStream "........../out" s = Files.findOne("xxxxxxxxxxxxxx").createReadStream() s.pipe f
squeal
@squeal
damn that's wrong xD it's the following:
fs = Meteor.npmRequire('fs')
dafile = fs.createWriteStream("...../out")
s = Files.findOne("xxxxxxxxxxxx").createReadStream()
s.pipe(dafile)
demiantriebl
@demiantriebl
any use cfs on modulus.io?
i have a problem whit the forlder upload
demiantriebl
@demiantriebl
anyhome use gridFS?
Immanuel Valle
@Cyval
hi guys
how can I use progress bar with react using this library?
Ba Ba K
@cyclops24
Hi, Why this project DEPRECATED and now what is the alternative? :worried:
Guillaume Darbonne
@guidouil
now with npm integration and fs access it's pretty straight forward to upload and store your data on filesystem
Mike Bobadilla
@mikebobadilla
@guidouil I hadnt even thought of that. I constantly forget about npm
Rustam Salavatov
@fortunto2
@cyclops24 hi, look https://github.com/VeliovGroup/Meteor-Files maybe nice alternative
Ba Ba K
@cyclops24
Thanks @fortunto2 It's seems awesome alternative.
:wink:
Guillaume Darbonne
@guidouil
yup I had not meteor-files on my radar and I implemented it yesterday and it rocks
Adam
@Neobii
so I seem to have this issue when I deploy apps
I'm trying to play an audio source
but I return the url from the server
I notice it doesn't have the token at the end
it works in all browsers but when I deploy to ios, it gives me a bad request
any ideas?
toli
@tolioren
got some questions related to collections, is anybody here got couple of minutes?
Kosar
@k0sar
Hello! Since CollectionFS is deprecated what are you using as an alternative?