zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Zookeeper and PHP
Date Tue, 03 May 2011 23:28:54 GMT
The gateway was designed to be stateless so that a simple load balancer
would give HA properties.

Of course, you lose ephemerals and notifications with this approach but
those don't make a lot of sense with PHP anyway.

On Tue, May 3, 2011 at 4:22 PM, Antoine Boulanger <antoine@box.net> wrote:

> 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 <ted.dunning@gmail.com> 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 <antoine@box.net>
> 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
> > >
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message