GridFS support

8 views
Skip to first unread message

Steve Purcell

unread,
Oct 31, 2010, 9:59:00 AM10/31/10
to karras-dev
Hi! Karras looks really promising. Are there any plans to support
GridFS (http://www.mongodb.org/display/DOCS/GridFS)?

I added congomongo's GridFS support earlier this year, and I'm
contemplating a move to Karras, but hoping to avoid jumping through
the same hoops again.

-Steve

Wilkes Joiner

unread,
Nov 1, 2010, 11:30:52 AM11/1/10
to karras-dev
It is definitely something I've planned on adding. I haven't used
GridFS, so I was putting it off until I had. At first glance, the
Java API appears to be straight forward. What kind of hoops did you
have to jump through?

I'll look at congomongo's implementation, and see what I can learn
from your work.

Thanks,
Wilkes

Steve Purcell

unread,
Nov 1, 2010, 12:44:19 PM11/1/10
to karra...@googlegroups.com
Yeah, the API's pretty straightforward. The hoops I had to jump through
were primarily related to learning congomongo's inner workings.

An implementation of GridFS, such as the one effected by the Java
driver, is really just a set of conventions for chunking files down into
records in collections.

I mention this because wrapping it up in Clojure tightens the binding to
the Java driver, so if you have plans to directly talk BSON at some
point (which would be awesome, and has been mooted for Compojure), you
might not want to add GridFS support yet.

-Steve

Steve Purcell

unread,
Nov 2, 2010, 6:30:10 AM11/2/10
to karras-dev
Erm, obviously I meant "congomongo", not "compojure". Apologies.
Reply all
Reply to author
Forward
0 new messages