s but it relies
on listkeys and listbuckets. I thought about releasing it but the
performance quickly becomes prohibitively slow with any appreciable amount
of data.
riak-ql seems like a step in the right direction.
What's on the roadmap and how can I help?
Have you considered submitting it t
>>>>
>>>> On Mon, Jul 25,
2011 at 9:40 AM, francisco treacy wrote:
>>>>
>>>>> It's awesome for
ad-hoc querying, at least. An example can better explain.
>>>>>
>>>>>
Consider this:
>>>>>
>
b.add('users').map('query', '.address .street where
>>> .weight:expr(x !.expired').run()
>>>
>>>
>>> as opposed to:
>>>
>>> db.add('users').map(function(v) {
>>> v = Riak.mapValuesJson(v)[0];
>&
Hi Kevin
> Francisco - How's performance on riak-ql?
>
> The problem I see with riak-ql and Antonio's thing is that they're
> invariably going to be slow.
> Javascript Map/Reduce over an entire bucket is just not suitable for inline
> requests.
No-one said you
91
On Tue, Jul 26, 2011 at 8:21 PM, Antonio Rohman Fernandez <roh...@mahalostudio.com> wrote:
"The problem I see with riak-ql and Antonio's thing is that they're invariably going to be slow._javascript_ Map/Reduce over an entire bucket is just not suitable for inline requests."
Y
> If you’re using Riak Search, the list of inputs can also reference a search
> query to be used as inputs.
>
Hopefully Secondary Indexes comes with a new map/reduce input type that does
something similar.
- Kev
c: +001 (650) 521-7791
On Tue, Jul 26, 2011 at 8:21 PM, Antonio Rohman Fe
"The problem I see with riak-ql and Antonio's thing is that they're invariably going to be slow._javascript_ Map/Reduce over an entire bucket is just not suitable for inline requests."Yes, of course, i also think that the MapReduce phases should be done in the background wi
Francisco - How's performance on riak-ql?
The problem I see with riak-ql and Antonio's thing is that they're
invariably going to be slow.
Javascript Map/Reduce over an entire bucket is just not suitable for inline
requests.
Take PodCrazy
http://podcrazy.net/
It's backed en
wesome for ad-hoc querying, at least. An example can better explain. Consider this: db.add('users').map('query', '.address .street where
.weight:expr(x !.expired').run()
as opposed to: db.add('users').map(function(v) { v = Riak.mapValuesJson(v)[0]; var result
amp; v.acl && v.acl.state === '1101' && !v.expired) { if (v.address) { result.push(v.address.street); } } return result; }).run() riak-ql is basically adding some query sugar (where, &&) on top of JSONSelect... which you can try it out here:http://jsonselec
le can better
>>> explain.
>>>
>>> Consider this:
>>>
>>> db.add('users').map('query', '.address .street where
>>> .weight:expr(x !.expired').run()
>>>
>>>
>>> as opposed to:
>>>
>
map('query', '.address .street where
>> .weight:expr(x !.expired').run()
>>
>>
>> as opposed to:
>>
>> db.add('users').map(function(v) {
>> v = Riak.mapValuesJson(v)[0];
>> var result = [];
>> if ((v.weight < 180
>> if ((v.weight < 180 || v.exempt) && v.acl &&
v.acl.state === '1101'
>> && !v.expired) {
>> if (v.address) {
>>
result.push(v.address.street);
>> }
>> }
>> return result;
>>
}).run()
>>
>> riak-ql is basical
&& v.acl.state === '1101'
> && !v.expired) {
>if (v.address) {
> result.push(v.address.street);
>}
> }
> return result;
> }).run()
>
>
> riak-ql is basically adding some query sugar (where, &&) on top of
> JSONSelect... which you
to:
db.add('users').map(function(v) {
v = Riak.mapValuesJson(v)[0];
var result = [];
if ((v.weight < 180 || v.exempt) && v.acl && v.acl.state === '1101'
&& !v.expired) {
if (v.address) {
result.push(v.address.street);
}
}
retur
Hey Francisco,
I for one would be interested in learning some more specifics on how
you're using it. I suspect others might be, too...
Mark
On Sat, Jul 23, 2011 at 4:40 PM, francisco treacy
wrote:
> Hey all,
>
> Just wondering... is anyone using, or have tried out riak-ql?
> h
Hey all,
Just wondering... is anyone using, or have tried out riak-ql?
https://github.com/frank06/riak-ql
Not because I developed it -- but I'm regularly making use of it and I
think it kicks ass. Especially in the repl in combo with riak-js.
What do you guys think?
Francisco
ps: r
17 matches
Mail list logo