Riak JS Lib, with implementations for Node.js & jQuery
riakjs.org
riakjs.org
Serious question actually.
What's the real world use-case for this? How is security handled? If my browser was able to talk directly to my Riak cluster, all my data would be open?
Riak doesn't have authentication or authorization built-in. It is on their radar. We have a light-weight backend for that stuff which doesn't know about most of our data. It obviously has to know about users, but other than that it just serves and stores JSON.
http://blog.mozilla.com/data/2010/05/18/riak-and-cassandra-a...
In it they discuss security issues addressing riak, cassandra, and hbase.
One poster mentioned the http interface, but also there are hooks within webmachine that would allow for some authentication as well - mentioned in the article.
It integrates distributed MapReduce and has a sort of graph api on top of it. You can link objects together and walk the graph.
Is this a typo? Shouldn't it be:
db.get('flights', 'KLM-5034', function(flight, meta) { ... });
db.get() is a bad example, I'm not sure why you'd want to pass anything other than bucket/key to get an object. In this exact case, I imagine it's just for consistency with the rest of the API.