Re: riak stats maintenance?

2010-06-17 Thread Grant Schofield
What Dan said too, he didn't forget the port like I did. Any other errors other than the stats timeout as well as the output of a riak- admin status would be useful if you see the problem again. Grant On Jun 18, 2010, at 1:16, Dan Reverri wrote: Hi Gareth, If you are just looking for hea

Re: riak stats maintenance?

2010-06-17 Thread Grant Schofield
I would recommend using the ping URL instead of stats for a load balancer check. http://127.0.0.1/ping There may be something else going on and a looking at your logs for errors would be a good idea but a ping is much less intensive than running stats. Grant On Jun 18, 2010, at 0:41, Gar

Re: riak stats maintenance?

2010-06-17 Thread Dan Reverri
Hi Gareth, If you are just looking for health checks you can use the "/ping" resource: http://riak_server:riak_port/ping Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@basho.com On Thu, Jun 17, 2010 at 9:41 PM, Gareth Stokes wrote: > Hey Dan, > > Sounds like i do need to check

Re: riak stats maintenance?

2010-06-17 Thread Gareth Stokes
Hey Dan, Sounds like i do need to check some things then. The load balancer does a health check every 30 seconds. Going through the monitor logs, the cpu was peaking up to about 60% which im not too sure if was caused by load or by the riak process doing whatever it was doing. And, I do seem to

Re: riak stats maintenance?

2010-06-17 Thread Dan Reverri
Hi Gareth, I'm not aware of any mechanism that turns the stats url off for any reason. How often are you pinging the stats url? Do the timeouts correlate with any other event on the system (higher load, cron job, etc.)? Thanks, Dan Daniel Reverri Developer Advocate Basho Technologies, Inc. d...@

riak stats maintenance?

2010-06-17 Thread Gareth Stokes
hey guys, so i have a cluster of 4 physical machines with a load balancer sitting in front to handle requests going into riak. i thought it would be a good idea (not anymore) to use the /stats url to ping the machines the cluster for their health. this is what i've noticed in the logs every few da

Right schema of saving data

2010-06-17 Thread Artem Golovinsky
Hi all, 1. I have erlang application which is subscriber on 1 nodes. When one of nodes has new content, the node sends to my client notification in Atom format. So. I need to save all notifications in JSON format. Now I have just one idea about schema: BUCKET - << http://