Re:Re:Re:Re: What is the meaning and function of ping_status?

From: <maer727@dont-contact.us>
Date: Sun, 21 Apr 2002 19:27:01 +0800 (CST)

Thanks, Henrik pal!

You have clarified all my duobts. :-)

Best regards,
George Ma

----- Original Message -----
From: Henrik Nordstrom
To: maer727@sohu.com
Cc: squid-dev@squid-cache.org
Subject: Re:Re:Re: What is the meaning and function of ping_status?
Sent: Sun Apr 21 17:27:11 CST 2002

> Yes.
>
>
> PING_NONE == We have not done ICP pinging
>
> PING_WAITING == We have sent a ICP query and is waiting for the reply
> to come back.
>
> PING_DONE == ICP has completed
>
>
> On Sunday 21 April 2002 11:09, maer727@sohu.com wrote:
> > Thanks, Henrik pal!
> >
> > I search "ping" in peer_select.c, FAQ and squid.conf.
> > And find it is used to meansure the RTT time of the
> > origin server. We often use it to select ICP peers.
> > I find there are such PING_STATUS,
> > PING_NONE, PING_WAITING.
> >
> > After reading the related codes, I think PING_NONE means
> > we do not use the ping mechanism or the ping event is not
> > doing now. But I am not very sure about it. Am I correct?
> > Can you give me a simple explanation?
> >
> > I think PING_WAITING means our cache is doing the ping
> > event to measure the origin server and the RTT time of
> > ICP peers. But I am not very sure about it. Am I correct?
> > Can you give me a simple explanation?
> >
> > Best regards,
> > George Ma
> >
> > ----- Original Message -----
> > From: Henrik Nordstrom
> > To: maer727@sohu.com
> > Cc: squid-dev@squid-cache.org
> > Subject: Re:Re: What is the meaning and function of ping_status?
> > Sent: Sat Apr 20 23:46:48 CST 2002
> >
> > > The source is the documentation to these fields. ping_status is a
> > > Squid internal field, only of relevance to Squid's internal ICP
> > > implementation.
> > >
> > > See mainly peer_select.c, search for PING_
> > >
> > > The different possible states is defined in enums.h.
> > >
> > > Regards
> > > Henrik
> > >
> > > On Saturday 20 April 2002 14:57, maer727@sohu.com wrote:
> > > > Thanks, Henrik pal!
> > > >
> > > > Are there any documents about the topic? I want to know some
> > > > details about it.
> > > >
> > > > If the document on the topic does not exist anywhere, can you
> > > > give me a simple explanation? :-)
> > > >
> > > > Best regards,
> > > > Geoege Ma
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: Henrik Nordstrom
> > > > To: maer727@sohu.com ;squid-dev@squid-cache.org
> > > > Cc: squid-dev@squid-cache.org
> > > > Subject: Re: What is the meaning and function of ping_status?
> > > > Sent: Sat Apr 20 19:33:30 CST 2002
> > > >
> > > > > It is the ICP ping status, telling the progress of ICP for
> > > > > the request.
> > > > >
> > > > > Regards
> > > > > Henrik
> > > > >
> > > > > On Saturday 20 April 2002 08:17, maer727@sohu.com wrote:
> > > > > > Hi, pals!
> > > > > >
> > > > > > What is the meaning and function of ping_status member
> > > > > > of structure StoreEntry? Does it has something to do with
> > > > > > pinger_program?
> > > > > >
> > > > > > Can you give me a simple explanation about the meaning and
> > > > > > function of ping_status?
> > > > > >
> > > > > > Best regards,
> > > > > > George Ma
Received on Sun Apr 21 2002 - 05:27:09 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:16 MST