Re: Best practices for using the PB client

2011-12-30 Thread Bip Thelin
On 30 dec 2011, at 20:31, Andrew Berman wrote: > > Also, shameless plug, I have a pooler as well which has a few more options > than pooler. You can check it out here: https://github.com/aberman/pooly Nice, I'll look in to that. > --Andrew > > On Fri, Dec 30, 2011 at 9:58 AM, Marc Campbell

Re: Best practices for using the PB client

2011-12-30 Thread Marc Campbell
Great, thanks for the feedback. I'll check out pooly, for sure. I was thinking about using HAProxy/Zeus (I'm currently using Riak Smartmachines @ Joyent). I really like this idea, the logic for node failures shouldn't be in my code. I'll give this a try! Thanks, Marc On Dec 30, 2011, at

Re: Best practices for using the PB client

2011-12-30 Thread Andrew Berman
You should look into using HAProxy in front of your nodes. Let HAProxy load balance between all your nodes and then if one goes down, HAProxy just pulls it out of the load balancing cluster automatically until it is restored. Then your pooler can just pool connections from HAProxy instead so it d

Best practices for using the PB client

2011-12-30 Thread Marc Campbell
Hey all, I'm looking for some best practices in handling connections when using the protocol buffer client. Specifically, I have 3 nodes in my cluster, and need to figure out how to handle the situation when one of the nodes is down. I'm currently using a pooler app (https://github.com/seth/po