--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
I had some issues with GridFS speed before. As a random aside to tack
on this thread, I ended up hacking my rails app so it actually wrote
the data out to a temp file and then used the local mongofiles to read/
write to GridFS. Even with the fast_ additions, it was still faster to
do it that way. Not sure what size the files were off the top of my
head, but probably anywhere in the neighborhood of 14-20MB.
Damon
On Dec 16 2009, 7:13 am, Kyle Banker <k...@10gen.com> wrote:
> I've also pushed this change to the latest master, and added a benchmark:
> bin/gridfs_benchmark.
>
> It is indeed a great improvement. Thanks, Sunny!
>
> On Tue, Dec 15, 2009 at 11:08 PM, Miguel Vega <amcv...@gmail.com> wrote:
> > it worked like a charm! Definitely a lot faster.
>
> > Here's the ruby benchmark on a reading a 3.5 mb file
>
> > Rehearsal ---------------------------------------------
> > read 36.650000 4.930000 41.580000 ( 41.867265)
> > fast_read 3.800000 0.030000 3.830000 ( 3.843537)
> > ----------------------------------- total: 45.410000sec
>
> > user system total real
> > read 37.040000 4.920000 41.960000 ( 42.013695)
> > fast_read 3.650000 0.050000 3.700000 ( 3.722122)
> > 37.040000 4.920000 41.960000 ( 42.013695)
> > 3.650000 0.050000 3.700000 ( 3.722122)
>
> > >> >> mongodb-user...@googlegroups.com<mongodb-user%2Bunsu...@googlegroups.com>
> > .
> > >> >> For more options, visit this group at
> > >> >>http://groups.google.com/group/mongodb-user?hl=en.
>
> > >> > --
>
> > >> > You received this message because you are subscribed to the Google
> > Groups
> > >> > "mongodb-user" group.
> > >> > To post to this group, send email to mongod...@googlegroups.com.
> > >> > To unsubscribe from this group, send email to
> > >> > mongodb-user...@googlegroups.com<mongodb-user%2Bunsu...@googlegroups.com>
> > .
> > >> > For more options, visit this group at
> > >> >http://groups.google.com/group/mongodb-user?hl=en.
>
> > >> --
> > >> Miguel Vega
> > >> Upstrat, Inc.http://theavidmind.upstrat.com
>
> > > --
>
> > > You received this message because you are subscribed to the Google Groups
> > "mongodb-user" group.
> > > To post to this group, send email to mongod...@googlegroups.com.
> > > To unsubscribe from this group, send email to
> > mongodb-user...@googlegroups.com<mongodb-user%2Bunsu...@googlegroups.com>
> > .
> > > For more options, visit this group at
> >http://groups.google.com/group/mongodb-user?hl=en.
>
> > --
> > Miguel Vega
> > Upstrat, Inc.
> >http://theavidmind.upstrat.com
>
> > --
>
> > You received this message because you are subscribed to the Google Groups
> > "mongodb-user" group.
> > To post to this group, send email to mongod...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > mongodb-user...@googlegroups.com<mongodb-user%2Bunsu...@googlegroups.com>