Questions tagged [riak-js]

Node.js base Riak client with support for HTTP and protocol buffers.

12 questions
2
votes
1 answer

Riak-TS UseCase vs other tsdb

This is a proof of concept and I am curious on experiences in using Riak-TS to evaluate it. I am working on a mobile app where part of the use is to display graphs/charts of various data. The data is related to commercial printers, jobs that pass…
Jinw
  • 428
  • 5
  • 10
1
vote
0 answers

Riak connectivity from Node

this is probably not a bug but rather a gap in my understanding but putting it here as afraid havent been able to find a way so far. Appreciate if you can provide your inputs please. I'm trying to connect to my Riak cluster (hosted on AWS) of 3…
vikram17000
  • 453
  • 5
  • 18
1
vote
1 answer

Riak-How to filter objects of one bucket based on another bucket?

I am using a 3 node Riak Cluster with a number of buckets. I have a bucket called user_account which has user information like name, address etc. user_account = {"id" => 1,"name"=>"abc", "address"=>"xyz"} There is another bucket user_metadata…
Infant Dev
  • 1,659
  • 8
  • 24
  • 48
1
vote
1 answer

How can I get riak-js to return walked objects?

I'm using a Riak database from Node via riak-js. I have two buckets: invites and events. Invites has a link to events. I'd really like to retrieve the invite object and the corresponding event object in one query. To this end, I've tried…
rmeador
  • 25,504
  • 18
  • 62
  • 103
0
votes
1 answer

What is the best SGDB for Riak kv - Basho?

I'm starting with riak, Is there any SGDB for linux that contemplate it? As if it were studio 3t for MongoDb. thankful
Hugo Ferreira
  • 51
  • 1
  • 8
0
votes
1 answer

Riak node join cluster programmatically

I am trying to make join a Riak node to the cluster programmatic but I can't manage to do that. I have tried this operation through web and Riak_control but I have a 403 forbidden HTTP error code. I there any other way to join a cluster programmatic…
AlexGo
  • 487
  • 4
  • 19
0
votes
2 answers

Riak like REST service with Angular.js client

I used Riak(http://basho.com/riak/) as rest service and Angular on client. When I try to use method "PUT" then first request is OPTION, but Riak doesn't know how to properly respond for this. I found some clients but all of them are made to run on…
Vladimir Kruglov
  • 196
  • 1
  • 19
0
votes
1 answer

NodeJS client library for riak

I am starting a project that will use riak with nodejs. I see number of community supported libraries in nodejs for riak in basho site -- http://docs.basho.com/riak/latest/dev/using/libraries/#Basho-Supported-Libraries . Can anybody point me to any…
rahul
  • 3,018
  • 4
  • 29
  • 28
0
votes
1 answer

Querying a Riak DB by a Subkey

I'm using riak-js and node.js If I have a document as follows: { 'skey1': 'val1', 'skey2': 'val2', ......, 'skeyn': 'valn' } How can I return a document that has skey2 = 'val2'? How would this be done in node.js / riak-js?
KingFish
  • 8,773
  • 12
  • 53
  • 81
0
votes
1 answer

Using Riak.js / Riak, how do I do an "AND" select?

I am trying to determine the existence of an object to decide whether to create a new object with a new key or to update an existing object. The goal here is to match on two Secondary Indexes. db.query(bucket, {end: null, definition_id: id},…
Jazzy
  • 6,029
  • 11
  • 50
  • 74
0
votes
1 answer

Dynamically setting bucket time-to-live on Riak and Bitcask with riak-js

Is it possible to change the expiry_secs parameter on bitcask buckets dynamically? Calling riak.saveBucket('bucket', {expiry_secs: 60}); will cause subsequent calls of riak.getBucket('bucket') to report 60 as the key ttl, but keys never seem to…
giaour
  • 3,878
  • 2
  • 25
  • 27
0
votes
1 answer

riak-js key_filters string_to_int status code 500

I could not make key_filter work with string_to_int transformation always get status code 500. My object structure is the following: { "style": "double", "capacity": 6 } My map function: var client = require('riak-js') .getClient({host:…
Darius Kucinskas
  • 10,193
  • 12
  • 57
  • 79