Is there other methods or APIs to monitor qps?

Tony Finch dot at dotat.at
Mon Nov 30 11:07:20 UTC 2015


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.


More information about the bind-users mailing list