This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Patch for NIS+


Alexander Belopolsky <alexb@rentec.com> writes:

> I propose the following patch which fixes the problem of finding
> NIS+ server on a slow network with fast clients.  Proposed patch
> makes the client retry with increasing timeouts when it does not get
> response.

This patch is severely punishing those which don't have a crappy
network setup when they really have problems at some point.  Instead
of the 5sec timeout they now face a 95sec timeout, for every single
programs which uses the code.  This is not acceptable.

The code itself, after some moving and cleaning up, seems usable but
I'd rather see not so many runs of the loop (at most three I guess)
with larger steps in the timeout value.  maybe 5, 7, and 10secs, or 4,
8, 12sec.

Ideally this should be a configuration parameter so that only those
who inflict the problem on themselves are punished.

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]