Skip to content

Instantly share code, notes, and snippets.

@PharkMillups
Created November 10, 2010 19:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PharkMillups/671340 to your computer and use it in GitHub Desktop.
Save PharkMillups/671340 to your computer and use it in GitHub Desktop.
<jmayfield> hey.. looking at riak for a project, vfx/film asset mgmt.
i've implemented such system using traditional rdbms backends,
and it always feels like a fight with complexity
13:41 <jmayfield> i am new to this world of nosql etc, but at a glance,
riak seems like a very good potential fit for this stuff
13:43 <benblack> what sort of trouble did you have with rdbms backends?
13:49 <jmayfield> complex schemas, for starters
13:49 <benblack> what made them complex?
13:49 <seldo> jmayfield: the design of the schema is not really
intrinsic to the data store
13:49 <benblack> hrm
13:50 <benblack> seldo: kind of disagree with you there
13:50 <jmayfield> uses contant need to new data structures, mods to existing ones, etc
13:50 <jmayfield> for example
13:50 <benblack> are the assets going into the db, or just metadata?
13:51 <jmayfield> depends, usually metadata
13:53 <benblack> without something more specific i can't really offer much advice
13:54 <jmayfield> yeah, i know
13:54 <jmayfield> hehe
13:59 <jmayfield> well, heres a typical problem.. nested assets, where
some of the nested assets have data mods per context (how/where they are nested)
14:04 <benblack> often best handled in riak with links
14:05 <benblack> rather than trying to directly nest in a single document
14:05 <jmayfield> right
14:07 <jmayfield> i like the link stuff for sure
14:07 <jmayfield> feels similar to playing with symlinks in an fs..or maybe i am totally wrong
14:07 <jmayfield> hehe
14:10 <jmayfield> maybe the fs analogy works foro what i am getting at. you have
assets (real files) that need to be plopped into collections (folders full of symlinks)..
with the added requirement of being able to mod/extend the sylinked file when in folder
A vs folder B
14:11 <benblack> sounds fine
14:27 <pete_lacey> Hope you guys don't mind if I do a hit and run, but I have a
question about the ruby library for Riak. Does it support named functions? If
o, what's the syntax for calling them. Googled around and came up dry.
14:30 <jmayfield> benblack, how might one think about something like that with riak..
when asset b is linked to asset a, asset b has some different value for x? (assuming yuo
have the time/interest in helping me and my vagueness)
14:40 <benblack> jmayfield: don't understand the question. links are links.
14:44 <jmayfield> benblack, if asset b has attr1 and attr2, i want attr1 to be somethng else
when it comes from a link on asset a, yet if somebody mods attr2 on asset a, i get that change.. hehe
14:45 <benblack> then i recommend you implement that in your app
14:45 <jmayfield> i am just trying to get a grip on how theses sorts of things might be
accomplish
14:45 <jmayfield> sure
14:47 <jmayfield> i have just had my head in postgres/mysql for years.. trying to rethink
this data stuff.. heh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment