I would probably do the asset loading from outside pd, most programming languages have a redis client library.  For this kind of job Ruby, Python, Perl, Lua or even V8 could do it.  I think this kind of script would be trivial to implement.<div>
<br></div><div>Something could also be achieved from within Redis with Lua, using the soon to be stable &quot;Scripting Branch&quot; <a href="http://antirez.com/post/an-update-on-redis-and-lua.html">http://antirez.com/post/an-update-on-redis-and-lua.html</a></div>
<div><a href="http://antirez.com/post/an-update-on-redis-and-lua.html"></a>But as the Scripting Engine blocks Redis, I would not do anything to heavy in there, still it would probably be fast and convenient.</div><div><br>
</div><div>Also, having the pdlua external loading stuff in redis from inside of PD could also be an option to consider.</div><div><br></div><div>I&#39;m sure these suggestions trigger more implementations ideas for the experienced pd users.</div>
<div><br></div><div>Having a puredis-asset loader object as part of the puredis library could also be a possibility, given a CSV, SQL or JSON file path, the object could make sure redis is preset the right way.</div><div>
<br></div><div>what do you think?<br><br><div class="gmail_quote">2011/7/26 Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at">hans@at.or.at</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word"><div><br></div><div>How would you dump large data sets into redis?  That&#39;s what I would likely use it for: taking data from CSV or SQL files and then using it within Pd.</div><div><br>
</div><div>.hc</div><br><div><div class="im"><div>On Jul 26, 2011, at 9:37 AM, Louis-Philippe wrote:</div><br></div><div><div></div><div class="h5"><blockquote type="cite">Thanks for the cue about the Library template, I will look into it and will probably integrate it.<div>
<br></div><div>About Puredis intended usage...  for my part I have in mind to integrate pd in a larger system using Redis as my data&#39;s  rosetta stone.  For Queue systems, Data Persistence, Pub/Sub IPC...  I got used to the way you can manipulate large data sets inside Redis and tought it would match nicely with pd, and after implementating it I am even more excited about its potential. </div>
 <div><div><br></div><div>L-P</div><div><br><div class="gmail_quote">2011/7/25 Hans-Christoph Steiner <span dir="ltr">&lt;<a href="mailto:hans@at.or.at" target="_blank">hans@at.or.at</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
 <div style="word-wrap:break-word"><div><br></div><div>That&#39;s a great manifesto, sounds like an interesting object.  Something like [pool] but with more options.  What do you have in mind to use it for?</div><div><br>
</div> <div>On the exciting topic of build systems, I recommend using the Library Template for this.  It&#39;ll save you the headache of making a build system for GNU/Linux, Windows, etc.</div><div><br></div><div><a href="http://puredata.info/docs/developer/LibraryTemplate" target="_blank">http://puredata.info/docs/developer/LibraryTemplate</a></div>
 <div><br></div><div>.hc</div><div><div><div><div><br></div></div></div></div></div></blockquote></div></div></div></blockquote></div></div></div><br><div> <span style="border-collapse:separate;color:rgb(0, 0, 0);font-family:Helvetica;font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-size:12px"><div>
<br>----------------------------------------------------------------------------<br></div></span><div><br></div><div>&quot;A cellphone to me is just an opportunity to be irritated wherever you are.&quot; - Linus Torvalds</div>
</span> </div><br></div></blockquote></div><br></div>