Windows Support

2014-02-02 Thread markrthomas
Hello Why is there no Windows Support for Riak - at least a development version? It would be useful to run standalone. What are my options? Thanks Mark -- View this message in context: http://riak-users.197444.n3.nabble.com/Windows-Support-tp4030410.html Sent from the Riak Users mailing list

spring-data-riak

2014-02-02 Thread markrthomas
Hello Is the spring-data-riak project still an active project? It doesn't appear to use protocol buffers. It appears to have been superseded by the java-riak-client. Thanks Mark -- View this message in context: http://riak-users.197444.n3.nabble.com/spring-data-riak-tp4030411.html Sent from

Spring and java-riak-client questions

2014-02-02 Thread markrthomas
Hello 1) Has anyone had any success with integrating the java-riak-client with Spring? 2) How do you use the 'com.basho.riak.pbc.RiakConnectionPool' with Spring? Is it required if you're using nginx TCP load balancing. I'm confused in how to use load-balancing with connection-pooling. What is con

mongoimport and java-riak-client

2014-02-02 Thread markrthomas
Hello mongoimport is blazingly fast compared with my java-riak-client inspired groovy load script (using pb). I'm just trying to import JSON data for a small dataset. There's just no comparison. It would be handy if Riak came with an equivalent 'riakimport' tool. Thanks Mark -- View this me

Load balancer

2014-02-02 Thread markrthomas
Hello Any node in a Riak cluster can coordinate requests for any other Riak node that is responsible for the data you're reading/writing. What is the advantage of fronting a Riak cluster with a load-balancer? Thanks Mark -- View this message in context: http://riak-users.197444.n3.nabble.c

Re: Load balancer

2014-02-02 Thread Luke Bakken
Hi Mark, A load balancer will ensure that requests from your clients don't prefer one Riak node over another. Some official Riak clients can do their own load balancing, however, a dedicated load balancer is more flexible. -- Luke Bakken CSE lbak...@basho.com On Sun, Feb 2, 2014 at 8:18 AM, mark

Re: Windows Support

2014-02-02 Thread Luke Bakken
Hi Mark, All of the supporting programs and scripts for Riak depend on the presence of a POSIX shell which precludes using Windows. Riak runs well in a VM environment for development purposes. I would recommend using VirtualBox with vagrant to automate building a local Riak environment: https://

Re: Load balancer

2014-02-02 Thread Roberto Aloi
Hi Mark, an obvious advantage of having a load balancer in front of your Riak cluster is that you will not need to expose your individual Riak nodes directly to the clients. Also, a load balancer will save you from a Single Point of Failure (in case the clients are aware of a single Riak node) or

Returning after long period to old project to notice riak-cs stopped working

2014-02-02 Thread De Bunge
Initially it looked like some access rights issue so I've updated /etc/riak-cs/app.config and /etc/stanchion/app.config with my admin's keys so I could use s3-cmd to figure out why some users lost access to database. but now it fails to start (see below). riak-cs starts only after machine being re

Re: Load balancer

2014-02-02 Thread Gideon de Kok
Mark, Your throughput of your total cluster will still be dependent on the throughput on that specific node: It can coordinate requests, but stays responsible for the actual response to the client. Load balancers not only help to increase performance by fanning out the requests to multiple ser

Re: Load balancer

2014-02-02 Thread Konstantin Kalin
Sorry jumping into the discussion. What is a best way to monitor Riak node health? Most loadbalancer uses HTTP request to check if a node is alive. Currently we use Riak Java client to load balance requests to Riak. The issue is if a node gets removed or added all Java servers need to update c

Re: Load balancer

2014-02-02 Thread Roberto Aloi
Hi Konstantin, Riak exposes a number of metrics - such as counters and histograms - that you can use to monitor your nodes' health. Metrics are available through the HTTP API via the /stats endpoint. For details, see: http://docs.basho.com/riak/latest/ops/running/stats-and-monitoring/ Cheers, Ro

Re: Load balancer

2014-02-02 Thread Konstantin Kalin
Well. I’m kinda aware about the stats :) But I believe they are not a good way for LB. The issue is LB requires a simple response OK and cannot do extended parsing. I see following cases what can happen in production: 1) Server is alive - riak is stopped 2) Server is down completely 3) Server i

Re: Load balancer

2014-02-02 Thread Roberto Aloi
Konstantin, I thought you were asking about monitoring nodes' health in general and not specifically from a Load Balancer perspective. What load balancer are you using or planning to use? Roberto Aloi @robertoaloi On Sun, Feb 2, 2014 at 6:39 PM, Konstantin Kalin wrote: > Well. I'm kinda awar

Re: Load balancer

2014-02-02 Thread Brian Roach
Konstantin, Doing a HTTP Ping request[1] to Riak is one approach. You could also do a HTTP Fetch[2] for a specific bucket/key pair. Another thing worth noting is that the all-new v2.0 of the Java client we'll be releasing for Riak 2.0 is much, much better in terms of load balancing and node manag

Re: Load balancer

2014-02-02 Thread Konstantin Kalin
Sounds interesting. Does the ping covers a case when Riak is half alive? Does it check status of a backend engine? We had a case due to a bug that bitcask was down but Riak was up. Thank you, Konstantin. On Feb 2, 2014, at 10:16 AM, Brian Roach wrote: > Konstantin, > > Doing a HTTP Ping r