Re: questions about search

2012-02-20 Thread Ryan Zezeski
Jason, In general Riak Search is far from a Solr/Lucene clone. It's main relation is that it supports the Lucene syntax and has an HTTP interface that roughly looks like Solr but doesn't support a lot of it's features and also has different semantics in some cases. If you rely on specific Lucene

Re: Small Riak Core Examples

2012-02-20 Thread Jeff Thompson
I've been working on my own "simple" memory resident database on top of riak core. I've been doing this as part of my work on building a mud (multi-user dungeon) that will run in a distributed and clustered environment. I hope that I'll be able to release the DB application in the not too distant f

Re: Is Riak a good solution for this problem?

2012-02-20 Thread Marco Monteiro
Thank you to everyone that answered my first message. I got ideas from every answer. Most helpful. We decided to go ahead with a few more tests. We are storing each page hit has a new object. Some of the queries we are doing need to visit many objects, and doing it in real time would not work. S

Small Riak Core Examples

2012-02-20 Thread Jiansen He
Hello Riakers, I am new to Riak/Riak Core. I would like to learn some small-sized Riak Core examples to learn different aspects of Riak Core. I found three old examples in the bolg from the blog (Basho Banjo , 4 examples in "try try try", and riak_id), but I would like to try more. Are there ot

Re: mem_allocated

2012-02-20 Thread Dan Reverri
The mem_allocated stat reports the amount of memory allocated for the system (not just Erlang). This number is returned by the memsup module: http://erldocs.com/R14B02/os_mon/memsup.html There are also a series of stats prefixed with "memory_" which provide memory information for the Riak node. ht

Re: Windows

2012-02-20 Thread Mark Phillips
A go-getter by the name of Kyle Quest did manage to port Riak 0.13 to run Windows and put out a screencast about it four months back: http://vimeo.com/29764118 I believe Kyle is still on the list. Perhaps he can share some details on the port... Mark On Mon, Feb 20, 2012 at 8:43 AM, Andrew Thom

Re: Windows

2012-02-20 Thread Andrew Thompson
On Mon, Feb 20, 2012 at 05:19:09AM -0800, Jeremiah Peschka wrote: > Bitcask and LevelDB are pluggable back ends for Riak. Bitcask is the default, > and LevekDB is needed right now for secondary indexes. > > Windows was once POSIX compliant for about 15 minutes, then Microsoft changed > their min

mem_allocated

2012-02-20 Thread heffergm
I was hoping someone could clue me in on exactly what the mem_allocated stat is measuring. I'm running a 6 node cluster, 4gb of ram per node. We've got about 12M keys, but this will be growing substantially in the near future. The cluster looks relatively good in terms of memory use, with about 3

Avoiding false concurrency in Riak

2012-02-20 Thread Carlos Baquero
Hi, Me and my colleagues are particularly interested on causality management in optimistic replications settings, and since most other systems use simple Last Writer Wins approaches, Riak is a good testbed as it allows exposing concurrency to the clients, offering more options than a pure LWW i

Is it possible to express JOIN and GROUP in Riak?

2012-02-20 Thread Sergei Tulentsev
Let's say, I have events and users. I want to group events by properties of users. In SQL it looks like this: SELECT u.gender, u.age, u.nfr, u.nafr, e.event_id, COUNT(e.id) ecount, SUM(e.event_value) esum FROM sn_users u JOIN daily_events e on e.sn_user_id

Re: Windows

2012-02-20 Thread Jeremiah Peschka
Bitcask and LevelDB are pluggable back ends for Riak. Bitcask is the default, and LevekDB is needed right now for secondary indexes. Windows was once POSIX compliant for about 15 minutes, then Microsoft changed their mind. What this means is that you need to write wrappers around how Windows ha