Inconsistent results with secondary indexes and spaces

2012-07-20 Thread Paul Gross
I'm seeing different results when performing a 2i query with spaces on different platforms. On OS X, I find the object. On an ubuntu vagrant image used by Travis CI, I do not. For example, here is my test script: require 'riak' client = Riak::Client.new bucket = client.bucket("test")

Re: Inconsistent results with secondary indexes and spaces

2012-07-26 Thread Paul Gross
Has anyone taken a look at this? I'm concerned that spaces and special characters in secondary indexes are inconsistent. Thanks, Paul On 7/20/12 5:12 PM, Paul Gross wrote: I'm seeing different results when performing a 2i query with spaces on different platforms. On OS X, I find

Re: Inconsistent results with secondary indexes and spaces

2012-07-27 Thread Paul Gross
of Ubuntu were you trying? Kelly On Jul 20, 2012, at 6:12 PM, Paul Gross <mailto:pgr...@gmail.com>> wrote: I'm seeing different results when performing a 2i query with spaces on different platforms. On OS X, I find the object. On an ubuntu vagrant image used by Travis CI, I d

Re: Inconsistent results with secondary indexes and spaces

2012-08-02 Thread Paul Gross
I upgraded riak on the vagrant image, and now I see consistent results with spaces. I will follow up with Travis CI to upgrade their images. Thanks, Paul www.pgrs.net On 7/27/12 1:26 PM, Paul Gross wrote: It's Ubuntu 11.10. I'm using the Travis Vagrant image, so you can download th

Re: Secondary Indexes - Feedback?

2011-11-16 Thread Paul Gross
- What is your wish list for the future of Secondary Indexes? One thing that I would like to see is the ability to add secondary indexes after the fact to existing objects. The use case I'm thinking of is: 1. I have a bucket of users, where the key is generated and the value is a hash o

Re: Secondary Indexes - Feedback?

2011-11-16 Thread Paul Gross
On 11/16/11 2:20 PM, Alexander Sicular wrote: Because of the way riak stores a key's value as basically one big blob in one place on disk, I don't think it is possible. This is akin to the often requested ability to update a keys meta data independent of its "value". But as far as riak storag

Re: Riak Recap for November 23 - 27

2011-11-29 Thread Paul Gross
6) Q --- Are people running riak natively on osx (for development) or running on a vm that matches production? (from kenperkins via #riak) A --- Anyone? (We had a similar thread on the list several months back about this but I figured it couldn't hurt to open it up to more discussion.) We

Erlang Port Configuration

2011-11-30 Thread Paul Gross
rmines how many ports I need? Thanks, Paul Gross www.pgrs.net ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Erlang Port Configuration

2011-11-30 Thread Paul Gross
I'm setting up a new cluster with an iptables firewall, and I'm trying to figure out which ports to open. It looks like I need 4369, 8099, 8098 (http), and a configurable range. Can I configure the range to be a single port, or is there a minimum number of required ports? What determines how many

Re: Erlang Port Configuration

2011-11-30 Thread Paul Gross
A range of 1 might work, but I'd go for a range of 5 or so, just to be safe. Thanks for the guideline. Can you give me some insight on when riak would use more than one port? Thanks, Paul www.pgrs.net ___ riak-users mailing list riak-users@lists.bash

Re: RiakEDS - one way replication?

2011-12-06 Thread Paul Gross
What are some examples of use cases for one-way replication? A disaster recovery cluster in an alternate data center in case the production data center goes down. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailma

Re: Luwak EOL

2011-12-20 Thread Paul Gross
While the idea of Luwak was interesting, we ultimately decided that it wasn’t the architectural path we wanted to pursue for storing larger values in Riak. Does this mean there is still an intention to support storing larger values in Riak in the future? Or is this something the client libraries

Curator: New Ruby ORM for Riak

2012-02-21 Thread Paul Gross
We at Braintree (http://www.braintreepayments.com/) open sourced our Riak ORM for Ruby called Curator. It follows a repository pattern rather than an ActiveRecord or Ripple pattern. You can check out the code on github: https://github.com/braintree/curator We also released a blog post that exp

Re: Curator: New Ruby ORM for Riak

2012-02-21 Thread Paul Gross
.g. is it quicker to do the lookup against a key, rather than a secondary index? Dave On 21 Feb 2012, at 15:29, Paul Gross wrote: We at Braintree (http://www.braintreepayments.com/) open sourced our Riak ORM for Ruby called Curator. It follows a repository pattern rather than an ActiveReco

Re: Riak Adoption - What can we do better?

2012-04-20 Thread Paul Gross
Riak is a breeze to host and maintain, but more difficult to develop against than other NoSQL databases (e.g. MongoDB and Redis). I think it would help adoption to close the developer gap. This includes things like: 1. Add other data types like lists and sets. With lists, features like blockin

Re: Riak Adoption - What can we do better?

2012-04-20 Thread Paul Gross
1. Add other data types like lists and sets. With lists, features like blocking pop would be great. Please consider how such a feature would behave in the presence of a network partition. This *is* possible, but there are significant consistency or performance tradeoffs required. Conceptually

Re: Riak Adoption - What can we do better?

2012-04-21 Thread Paul Gross
4. Add the concept of ordering (without having to fall back to map/reduce). It's difficult to do paging without ordering, and most webapps require it. In general, paging in RIak is hard, since there's no concept of a range of results from a secondary index. I thought there were range queries for