zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Camille Fournier ...@renttherunway.com>
Subject Re: Timeouts and ping handling
Date Wed, 18 Jan 2012 23:21:12 GMT
Duh, I knew there was something I was forgetting. You can't process the
session timeout faster than the server can process the full pipeline, so
making pings come back faster just means you will have a false sense of
liveness for your services.

The question about why the leaders and followers handle read-only requests
differently still stands, though.


On Wed, Jan 18, 2012 at 5:45 PM, Patrick Hunt <phunt@apache.org> wrote:

> On Wed, Jan 18, 2012 at 2:03 PM, Camille Fournier <camille@apache.org>
> wrote:
> > I think it can be done. Looking through the code, it seems like it should
> > be safe modulo some stats that are set in the FinalRequestProcessor that
> > may be less useful.
> >
> Turning around HBs at the head end of the server is a bad idea. If the
> server can't support the timeout you requested then you are setting
> yourself up for trouble if you try to fake it. (think through some of
> the failure cases...)
> This is not something you want to do. Rather first look at some of the
> more obvious issues such as GC, then disk (I've seen ppl go to
> ramdisks in some cases), then OS/net tuning etc....
> Patrick

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