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 - 10:16:48 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:15:15 MST