Thanks for sharing your experience. I suppose the gateway service was itself highly available ? Or did you use TSocketPool in PHP ? My concern is indeed not to lose zk HA feature in the process
On Tue, May 3, 2011 at 4:10 PM, Ted Dunning <[email protected]> wrote: > I have used the thrift option in the past. At the time I did that, we > build > a gateway service in Java that talked in turn to ZK. That was a slight > pain > because of the additional service. The result was very portable, however, > because the PHP side was pure PHP and the java code was inherently pretty > portable. > > The only problems we had were when ZK filled up due to not paying > attention. > > On Tue, May 3, 2011 at 4:04 PM, Antoine Boulanger <[email protected]> wrote: > > > Hi, > > > > I am looking into using Zookeeper inside a php environment. My usecase is > > configuration management right now. > > > > I thought about 3 different approaches: > > - using a C-based php module (there exists a couple on GitHub) > > - using the REST interface provided in /contrib > > - using Thrift (by bundling a Thrift server with the ZK Client) > > > > I am currently more in favor of using Thrift, because I do not know about > > the stability of the other approaches. > > Would be somebody be able to recommend something ? Do you know about > > projects / companies using zookeeper with php ? > > > > Thanks > > Antoine > > >
