How to structure data in Riak?
问题 I'm trying to figure out how to model data in Riak. Let's say you are building something like a CMS with two features, news and products. You need to be able to store this information for multiple clients X and Y. How would you typically structure this? One bucket per client and then two keys news and products . Store multiple objects under each key and then use map/reduce to order them. Store both the news and the products in the same bucket, but with a new autogenerated key for each news