Is there other methods or APIs to monitor qps?
liumingxing
liumingxing at cnnic.cn
Tue Dec 1 00:47:47 UTC 2015
Ok, I have gotten it. curl has timeout mechanism and we can use it.:)
Mingxing, Liu
CNNIC
From: Tony Finch
Date: 2015-11-30 19:07
To: liumingxing
CC: bind-users
Subject: Re: Re: Is there other methods or APIs to monitor qps?
liumingxing <liumingxing at cnnic.cn> wrote:
> It means that the statistics channel should be opened?
Yes.
> Is there timeout mechanism? May curl query be not stucked?
The curl manual says:
--connect-timeout <seconds>
Maximum time in seconds that you allow the connection to the
server to take. This only limits the connection phase, once
curl has connected this option is of no more use. See also the
-m/--max-time option.
-m/--max-time <seconds>
Maximum time in seconds that you allow the whole operation to
take. This is useful for preventing your batch jobs from hang-
ing for hours due to slow networks or links going down. See
also the --connect-timeout option.
Other HTTP clients will have similar options.
Tony.
--
f.anthony.n.finch <dot at dotat.at> http://dotat.at/
Dover, Wight, Portland, Plymouth: Southwest 6 to gale 8, increasing severe
gale 9 at times. Rough or very rough. Occasional rain. Good, occasionally
poor.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20151201/c4797855/attachment.html>
More information about the bind-users
mailing list