Search squid archive

Re: Windows Updates a Caching Stub zone, A windows updates store.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey Omid,

1. You should understand what you are doing and not blindly fetch downloads.
The estimation is that you will need maximum of 100GB of storage for the whole "store" for a period of time.
This is also due to this that Microsoft Windows Update service will not download files without a need.
The fetcher should help you to download periodical updates but I assume that the updates have a limit... You should consider asking MS on what is expected to be in the downloads or when do download happen.

2. If you need more then one location you should use some logical volume to do that instead of spreading manually over more then one disk.
This is based on the basic understanding that the service is a "web-service" which is serving files and you should treat it the same way like any other.
When I am running a web-service and I need more then one disk I do not run to "spread" it manually but use some OS level tools.
I do trust the OS and the logical volume management tools to do their work properly. When I will loss my trust in them I will stop using this OS, this is as simple as that.
3. The HITS are counted but I need to dig into the code to verify how a HIT is logged and how it can be counted manually.
QOS or TOS, by what? How?
The service how one way out and one way in..
If the requested file is in store you will not see outgoing traffic for the file.
The right way to show a HIT in this service is to change the response headers file to have another header.
This could be done manually using a tiny script but not as a part of the store software.
An example to such addition would be:
# perl -pi -e '$/=""; s/\r\n\r\n/\r\nX-Store-Hit: HIT\r\n\r\n/; /var/storedata/header/v1/fff8db4723842074ab8d8cc4ad20a0f97d47f6d849149c81c4e52abc727d43b5

And it will change the response headers and these can be seen in a squid access.log using a log format.
I can think of other ways to report this but a question:
If it works as expected and expected to always work, why would you want to see the HIT in a QOS or TOS?
QOS and TOS levels of socket manipulation will require me to find a way to hack the simple web service and I will probably won’t go this way.
I do know that you will be able to manipulate QOS or TOS in squid if some header exist in the response.

I will might be able to look at the subject if there is a real technical\functional need for that in a long term usage.

Eliezer

----
Eliezer Croitoru
Linux System Administrator
Mobile: +972-5-28704261
Email: eliezer@xxxxxxxxxxxx


-----Original Message-----
From: squid-users [mailto:squid-users-bounces@xxxxxxxxxxxxxxxxxxxxx] On Behalf Of Omid Kosari
Sent: Friday, July 15, 2016 8:48 PM
To: squid-users@xxxxxxxxxxxxxxxxxxxxx
Subject: Re:  Windows Updates a Caching Stub zone, A windows updates store.

Hi,

Questions
1-What happens if disk or partition becomes full ?
2-Is there a way to use more than one location for store ?
3-Currently hits from your code , could not be counted .How i can use qos
flows/tos mark those hits ?



--
View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/Windows-Updates-a-Caching-Stub-zone-A-windows-updates-store-tp4678454p4678524.html
Sent from the Squid - Users mailing list archive at Nabble.com.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux