zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher <ctubb...@apache.org>
Subject Re: Running Zookeeper in a servlet and not as a standalone process
Date Wed, 10 Jun 2015 17:26:58 GMT
Don't servlets get instantiated and destroyed at the whims of the
container, and usually in response to a client request? That doesn't
seem to be a very suitable arrangement for a zookeeper server's
lifecycle management, to me.

It sounds to me like you are trying to repurpose a web container for
cluster management. I think there might be better container solutions
for that purpose, though. Have you considered something like Docker,
Mesos, or YARN?

Christopher L Tubbs II

On Wed, Jun 10, 2015 at 12:21 PM, Guy Moshkowich <GUYM@il.ibm.com> wrote:
> I would like to deploy Zookeeper in our product which is running as a web
> application.
> I'm considering the option of adding a simple servlet to run Zookeeper by
> calling Zookeeper main during servlet initialization.
> This can simplify the installation and life cycle management of Zookeeper
> service.
> Are there any known issues with this approach?
> _____________
> Guy Moshkowich

View raw message