答复: ????: [squid-users] Large Files

From: adam.cheng <adam.cheng@dont-contact.us>
Date: Tue, 5 Sep 2006 18:10:41 +0800

Hi, Adrian:

->Hm!
->
->What, it aborted even though others were downloading the file?

Yes, large files are hard to be fetched and cached by squid if these files
are concurrently accessed by many clients with multi-thread download tools.

For example, If the first client request one cache miss file ( such as 2
Megabytes large) by two threads, then the first thread request range:
0~1Megabytes, and the second thread request range: 1M ~ 2Megabytes. If
the first request aborted before have received more than 1Megabytes, We
often find squid's back side connection stopped at the point of 1Megabytes ,
so this file can not be whole fetched and normally cached.

Our purpose:
1. squid can cache large files normally.
2. squid can support multi-thread requests once large files are cached.
(squid response TCP_HIT/206 once file was cached. )

Our configuration:
range_offset_limit -1 KB # support byte_range at the front
side, and request without range header at back side.
quick_abort_min -1 KB #keep fetching whole file ,no matter when
clients abort.

Adrian, please help to take a look , thank you in advanced.

Adam

->-----邮件原件-----
->发件人: Adrian Chadd [mailto:adrian@creative.net.au]
->发送时间: 2006年9月5日 10:00
->收件人: adam.cheng
->抄送: squid-users@squid-cache.org
->主题: Re: ????: [squid-users] Large Files
->
->On Tue, Sep 05, 2006, adam.cheng wrote:
->> HI, Adriam
->>
->> We have a similar implementation as youtobe . But when we deploy squid
for
->> large files, we found quick_abort does not work well. Problem looks
like
->> this:
->>
->> When cache miss , it is very hard for squid to get whole large file and
->> cache it if there are lots of multi-thread download tools, like
flashget
->> or netransport are accessing this file at the same time. Observing
through
->> sniffer, we found the back side connection often stopped at the point of
the
->> first thread stopped.
->
->Hm!
->
->What, it aborted even though others were downloading the file?
->
->
->
->
->
->Adrian
->
Received on Tue Sep 05 2006 - 04:11:10 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:03 MDT