[RavenDB] Binary data

48 views
Skip to first unread message

slav

unread,
May 22, 2010, 6:06:46 PM5/22/10
to ravendb
Does Raven support storing binary data (pictures for example) at all?
I'm guessing it's a really bad idea to store anything binary in the
document, since it'll get sent back and forth all the time. In fact
it's probably a bad idea to store any large files in the document,
since the whole document gets pulled, no matter what.

For example if user adds attachment to the forum post, I should save
it as a separate OS file and serve it as that, right? In the Raven
document I would save the file ID.

slav

unread,
May 22, 2010, 6:08:55 PM5/22/10
to ravendb
Ah, RTFM - http://www.ravendb.net/documentation/docs-http-api-get-attachments

very cool. By the way, watching your presentation Intro to Raven DB at
Skills Matter. Very cool. Thanks for doing it Ayende.

Ayende Rahien

unread,
May 22, 2010, 8:02:57 PM5/22/10
to rav...@googlegroups.com
Take note that while it works, it isn't really meant to store big binaries. 
The main reason we support it is to allow Raven's Apps: http://groups.google.com/group/couchapp
Reply all
Reply to author
Forward
0 new messages