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

From: <maer727@dont-contact.us>
Date: Sun, 21 Apr 2002 17:09:46 +0800 (CST)

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 - 03:09:52 MDT

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