Re:Re:Re: Puzzled at the meaning and function of STORE_PENDING?

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

Thanks, Henrik pal!

I still have a question. I think TCP is a reliable and connection-oriented
protol. Why you say it is "effectiveness of TCP and unreliable connections" ?

Does Squid use unreliable connections other than TCP? (maybe UDP)

Best regards,
George Ma

----- Original Message -----
From: Henrik Nordstrom
To: maer727@sohu.com
Cc: squid-dev@squid-cache.org
Subject: Re:Re: Puzzled at the meaning and function of STORE_PENDING?
Sent: Sat Apr 20 23:50:10 CST 2002

> The amount of copying within Squid is a bit too much. One of the
> issues Adrian is trying to address.
>
> cache misses will almost always be slower than direct as there is
> more hops involved in processing the request. The fact that Squid
> copies the data twice is only a very small piece.
>
> there is a few cases however where cache misses retreived via a proxy
> will be faster than going direct, attributed to effectiveness of TCP
> and unreliable connections.
>
> Regards
> Henrik
>
>
>
> On Saturday 20 April 2002 15:05, maer727@sohu.com wrote:
> > Thanks, Henrik pal!
> >
> > I think when make a request and cache miss, and then object will
> > be got from origin server or ICP peer, then we should copy the
> > object to StoreEntry, and then use storeclient to copy the object
> > from MemObject of StoreEntry to socket (fd) buffer of the TCP
> > request of the client.
> >
> > So there are twice copy procedures when cache miss. So it is why
> > when cache miss, it is slower to use proxy than to direct link to
> > origin server without using proxy.
> >
> > Am I correct?
> >
> > Best regards,
> > George Ma
> >
> > ----- Original Message -----
> > From: Henrik Nordstrom
> > To: maer727@sohu.com ;squid-dev@squid-cache.org
> > Cc: squid-dev@squid-cache.org
> > Subject: Re: Puzzled at the meaning and function of STORE_PENDING?
> > Sent: Sat Apr 20 19:34:55 CST 2002
> >
> > > The STORE_* flags are internal to the source. This one means what
> > > it says.. Storgage of the object is pending, usually waiting for
> > > more data to arrive.
> > >
> > > Regards
> > > Henrik
> > >
> > > On Saturday 20 April 2002 08:27, maer727@sohu.com wrote:
> > > > Hi, pals!
> > > >
> > > > What is the meaning and function of STORE_PENDING? I search
> > > > STORE_PENDING in FAQ and squid.conf and failed to find the
> > > > description of it. :-(
> > > >
> > > > Best regards,
> > > > George Ma
Received on Sat Apr 20 2002 - 20:01:47 MDT

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