Re: ripple and rails 3.2.8

2012-10-01 Thread Martin Streicher
You are welcome. I am stumbling through Riak myself. On Oct 1, 2012, at 7:35 PM, Charlie Bowman wrote: > Thanks Martin (I run into on all the email lists ;) ), I didn't see the beta > there. > > On Mon, Oct 1, 2012 at 4:29 PM, Martin Streicher > wrote: > > I am. I am having an issue with

Re: ripple and rails 3.2.8

2012-10-01 Thread Martin Streicher
I am. I am having an issue with riak-sessions not having enough args (4 for 3) when being called from Rack, but the rest is working fine. This is my Gemfile. gem 'httpclient' gem 'jquery-rails' gem 'omniauth' gem 'omniauth-facebook' gem 'omniauth-identity' gem 'rabl' gem 'rack-cors', require

Re: riak on one node

2012-10-01 Thread Curtis Schofield
Thank you Dmitry. It is my instinct now that i have done this is that I am using Riak for a wrong application of it - Actually after some thought and writing - I believe that what i really need is a slow log and that can be created after the fact and that I should continue to focus on using the lo

Re: riak on one node

2012-10-01 Thread Dmitry Demeshchuk
Judging by the wiki, Changing the N value after a bucket has data in it is not recommended. If you do change the value, especially increasing it, you might need to force read repair. Overwritten objects and newly stored objects will automatically be replicated to the correct number of nodes. Anot

Re: riak on one node

2012-10-01 Thread Curtis Schofield
> I do not believe that this is the best use of memcache - I have switched > to the filesystem for now - I could imagine this > system becoming very large and it would be useful to have a cluster > holding the server traffic. > > I think i meant to say - this may not be the best use of riak - i

riak on one node

2012-10-01 Thread Curtis Schofield
I know this isn't really the typical use case. I wanted to use riak on a development setup and a small production setup I am using it to store HTTP requests. I have 4 secondary indexes. When I start to load up the server with live traffic from one device - it crashes the server very fast. I am do

Re: ripple and rails 3.2.8

2012-10-01 Thread Charlie Bowman
Thanks Martin (I run into on all the email lists ;) ), I didn't see the beta there. On Mon, Oct 1, 2012 at 4:29 PM, Martin Streicher wrote: > > I am. I am having an issue with riak-sessions not having enough args (4 > for 3) when being called from Rack, but the rest is working fine. > > > This is

Re: Riak and Rails 3.2.8

2012-10-01 Thread Martin Streicher
I am. I am having an issue with riak-sessions not having enough args (4 for 3) when being called from Rack, but the rest is working fine. This is my Gemfile. gem 'httpclient' gem 'jquery-rails' gem 'omniauth' gem 'omniauth-facebook' gem 'omniauth-identity' gem 'rabl' gem 'rack-cors', require

ripple and rails 3.2.8

2012-10-01 Thread Charlie Bowman
Is anyone using ripple with the latest version of rails (3.2.8). I'm attempting to install but I receive the following error. cbowman:cbowman$ bundle install Fetching source index for https://rubygems.org/ Bundler could not find compatible versions for gem "activemodel": In Gemfile: ripple

Re: Riak cluster-f#$%

2012-10-01 Thread Michael Truog
Still, doesn't that failure show a typical overload of Riak's usage of mochiglobal (i.e., the code_server needing to lock all Erlang schedulers)? I understand that running more than one node on a single machine is not realistic deployment. However, I don't see why it would cause errors, unless

Re: Riak cluster-f#$%

2012-10-01 Thread Alexander Sicular
Any time you overload one box you run into all sorts of i/o dreck, screw with your conf files and mess with your versions you just have too many variables in the mix to get anything meaningful out of what you were trying to do. Since this is a test just tear the whole thing down and start clean.

Re: Riak cluster-f#$%

2012-10-01 Thread Callixte Cauchois
Thank you, but can you explain a bit more? I mean I understand why it is a bad thing with regards to reliability and in case of hardware issues. But does it have also an impact on the behaviour when the hardware is performing correctly and the load on the machines are the same? On Mon, Oct 1, 2012

Re: Riak cluster-f#$%

2012-10-01 Thread Alexander Sicular
Inline. -Alexander Sicular @siculars On Oct 1, 2012, at 3:23 PM, Callixte Cauchois wrote: > Hi there, > > so, I am currently evaluating Riak to see how it can fit in our platform. To > do so I have set up a cluster of 4 nodes on SmartOS, all of them on the same > physical box. Mistake. Just

Riak cluster-f#$%

2012-10-01 Thread Callixte Cauchois
Hi there, so, I am currently evaluating Riak to see how it can fit in our platform. To do so I have set up a cluster of 4 nodes on SmartOS, all of them on the same physical box. I then built a simple application in node.js that get log events from our production system through a RabbitMQ queue and

Re: Using Riak as cache layer

2012-10-01 Thread Pavel Kogan
Thanks Sean. On Mon, Oct 1, 2012 at 4:48 PM, Sean Cribbs wrote: > Yes, it will drop the oldest item until the size is less than max_memory. > > On Mon, Oct 1, 2012 at 9:38 AM, Pavel Kogan > wrote: > > Hi Sean, > > > > Thanks for quick reply. Your answers helped me a lot. > > I just need small c

Re: Using Riak as cache layer

2012-10-01 Thread Sean Cribbs
Yes, it will drop the oldest item until the size is less than max_memory. On Mon, Oct 1, 2012 at 9:38 AM, Pavel Kogan wrote: > Hi Sean, > > Thanks for quick reply. Your answers helped me a lot. > I just need small clarification. > > Memory backend has two parameters: (a) max_memory (b) ttl. > If

Re: Using Riak as cache layer

2012-10-01 Thread Pavel Kogan
Hi Sean, Thanks for quick reply. Your answers helped me a lot. I just need small clarification. Memory backend has two parameters: (a) max_memory (b) ttl. If I use only max_memory (without using ttl) and node reaches its RAM limit would it drop oldest records upon new request as you said (or I mu

Re: Using Riak as cache layer

2012-10-01 Thread Sean Cribbs
In contrast to Yuri's claim, a number of groups have used Riak successfully as a cache. Yes, it won't be as fast as Membase, but it might be fast enough for your purposes. (This presentation by Posterous might interest you: http://basho.com/blog/technical/2012/01/30/Riak-in-Production-at-Posterous-

Re: Using Riak as cache layer

2012-10-01 Thread Pavel Kogan
Thanks, I would check it out for my general knowledge, however I uses Riak for other purposes and prefer to stay with same backend in whole my infrastructure (if possible). Pavel On Mon, Oct 1, 2012 at 2:57 PM, Yuri Lukyanov wrote: > I suggest that you use http://www.couchbase.com/ (ex-membase)

Re: Using Riak as cache layer

2012-10-01 Thread Yuri Lukyanov
I suggest that you use http://www.couchbase.com/ (ex-membase) instead as a cache layer. It's faster but less reliable than riak, which is ok for cache layer. On Mon, Oct 1, 2012 at 12:47 AM, Pavel Kogan wrote: > Hi all experts, > > I want to use Riak for caching and have few questions: > > 1) Ho

Basho UK Launch Party

2012-10-01 Thread Matthew Heitzenroder
Hi Riak Users- For those of you who can be in London this Wednesday, we're throwing a party to celebrate Basho's London office opening. It would be great if you could come! Corbet Place - The Old Truman Brewery 15 Hanbury Street E1 6QR London United Kingdom Wednesday, October 3, 2012 from 6:30 P

Re: key not found in map reduce

2012-10-01 Thread Mridul Kashatria
Thanks. This issue is solved. -- Mridul On Monday 01 October 2012 10:33 AM, Venki Yedidha wrote: Hi Mridul, You can use filterNotFound from mapred_builtins.js... usage format in reduce phase: return Riak.filterNotFound(your_object_passed _from_map_phase); Thanks, Venkates