<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
I am looking at using Riak ( <a href="http://wiki.basho.com/" target="_blank">http://wiki.basho.com/</a> ) with Pharo. When<br>
storing a “business object” you  have two choices:<br>
<br>
-       Store a binary BLOB representing your object graph.<br>
-       Store the object graph as JSON data.<br>
<br>
The last option essentially means you must do something similar to OR<br>
mapping, so I would prefer the first option. With Riak, you will soon<br>
be able to store additional indexed properties, which you later will<br>
be able to query. So you store your whole business object as a BLOB,<br>
together with those properties you need to query.<br>
<br></blockquote><div><br>Hi guys. Sorry to come back with this old post, but now I am interested ;)<br><br>Right now, I have a requirement where I need to write a graph into a file. I am using Fuel for that. Each graph, has its own file. In the image side I just store the filename,  When I need to load it it reads such file and materialize it with Fuel. I was 
thinking going a step forward and use a key/value (a.k.a no-sql) 
database.  <br>
<br>With Fuel, I can take a graph, and serialize directly into a 
ByteArray, hence I can take a graph to swap, I assign an ID, and and 
save it into the database. In the image side, I keep that ID. Then, when
 needed, I search it in the database and then after with that ByteArray 
found, I materialize it with Fuel.<br><br>So...first question is, do you think that could be faster/better than directly writing into a file as I am doing now?<br><br>Now, which are the available Pharo wrappers for no-sql databases that let me do that?   I would appreciate any link or documentation about them. What do I need to use such databases from Pharo? FFI and a library installed in my machine?  are there binaries for Mac OS? <br>
<br>Thanks in advance,<br clear="all"><br></div></div><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>