what is content type

2012-06-25 Thread Anand Hegde
What is content_type and why do I need to bother about this when storing a blob of text? ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: what is content type

2012-06-25 Thread Mathias Meyer
Anand, A content type is a cue as to what kind of data you're storing in Riak. The concept is based on Internet media types [1]. The cue may or may not be important to your application to figure out what to do with the data. It's also important for certain Riak features like Riak Search, where

Re: undefined method content_type

2012-06-25 Thread Mathias Meyer
Anand, I rewrote your script a little bit (you did some odd things in the initialize method which isn't expected to return anything), and this way it works: require 'riak' Riak::Serializers["text/html"] = Riak::Serializers::TextPlain class RiakClient def initialize super end def client @clien

Re: Riak behind a Load Balancer

2012-06-25 Thread Samuel Elliott
On Mon, Jun 25, 2012 at 7:36 AM, Matt Black wrote: > Dear list, > > Does anyone have an opinion on the concept of putting a Riak cluster behind > a load balancer? It has been done before. there are various results when searching "riak haproxy" in your favourite search engine. > > We wish to be a

link walking- get a single object from 1000 objects with tag 'city'

2012-06-25 Thread Venki Yedidha
Hi All, I have a document in which my Riak object is linked with tag name 'city' to nearly 1000 other objects. However, If I use /bucketname/keyname/_,city,1 It lists me all cities linked with my object. Instead of re

Re: Riak behind a Load Balancer

2012-06-25 Thread Sean Cribbs
Another typical setup is to have each client node have its own haproxy, and when Riak nodes are added or removed (not a common occurrence, mind you), a configuration management tool like Chef/Puppet/cfengine/etc can adjust the config and signal the process to reload it (I think it's `kill -HUP`). T

Re: Riak behind a Load Balancer

2012-06-25 Thread Anthony Molinaro
This is almost exactly what we do with our riak clusters (as well as actually all our subclusters). It's actually nice for developer because when they need to talk to a network service they just reference 127.0.0.1 and some port, and haproxy gets them to the right place. This also allows an opera

Re: Riak behind a Load Balancer

2012-06-25 Thread Swinney, Austin
I use the Amazon Elastic Load Balancer (ELB) on my ec2 riak cluster. I understand the concerns of LB fail, but for me, using Riak is largely about ease of use. Easy to deploy, grow, shrink, replace, etc. Using an the ELB allows me to do those things without consulting those who manage the ser

Re: Riak behind a Load Balancer

2012-06-25 Thread Michael Clemmons
If your running multiple clients use an LB on each and do failover if the local lb is down. On Mon, Jun 25, 2012 at 11:41 AM, Swinney, Austin wrote: > I use the Amazon Elastic Load Balancer (ELB) on my ec2 riak cluster. I > understand the concerns of LB fail, but for me, using Riak is largely

Re: Riak behind a Load Balancer

2012-06-25 Thread Eric Moritz
This was mentioned in the book, "Scalable Internet Architectures" I haven't used it but it may be worth a look: http://www.backhand.org/wackamole/ On Jun 25, 2012 3:01 PM, "Michael Clemmons" wrote: ___ riak-users mailing list riak-users@lists.basho.com

Riak Recap for June 7 - June 24

2012-06-25 Thread Mark Phillips
Evening, Morning, Afternoon to All - Yet another LONG overdue Recap. Talks, code, and more. Also, if anyone is going to be at Velocity this week in Santa Clara, ping me. I'll be there. Enjoy. Mark twitter.com/pharkmillups -- Riak Recap for June 7 - June 24 =

Re: Riak Recap for June 7 - June 24

2012-06-25 Thread Mark Phillips
On Mon, Jun 25, 2012 at 4:22 PM, Mark Phillips wrote: [snip] > 13) There's a new Pearl library for Riak called Data-Riak > > Yikes. s/Pearl/Perl :) Mark ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/

link with out changing data

2012-06-25 Thread Venki Yedidha
Hi All, I am using links to store my data. I will insert data regarding my country first and then I will link this country to cities when each city object is inserted. However, It is not allowing me to link this country to cities with out changing data of the countr