Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Content etags are different when using many servers behind..

 
   Web Hosting and Web Master Forums (Home) -> IIS RSS
Next:  Organizing IIS MMC  
Author Message
user865

External


Since: Sep 26, 2003
Posts: 1



(Msg. 1) Posted: Fri Sep 26, 2003 7:58 pm
Post subject: Content etags are different when using many servers behind load balancer
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have a problem. I have 5 IIS5.0 servers behind a load
balance switch. All servers have same content and answer to
one vip. I have a private proxy cache compiled from squid.
The problem I have is that the same objects from each
server have the same etags value except the last three
characters on the etag. Each server will generate a
different value of the three characters after the : in the
etags.

For instance one object will have an etag from one server
as such ( ETag: "259295695651c31:aaf" ). The same object
from another server will have an etag of such ( ETag:
"259295695651c31:b36" ).

As you can see the three characters after the (Smile are
different for each server. My private cache sees these as
different objects. Requests for the objects to my cache
will almost all the time require the cache to GET a new
copy from the Origin server because the client has a
different extention that it got from a previous request
that was handled by one of the other servers behind the
switch. Of course this is only happening when the clients
(browsers) version has expired, but is still fresh in the
private cache.

My question is how do I keep IIS from adding these three
characters on the etag after the (Smile so my cache hit rate
will be more efficient?

 >> Stay informed about: Content etags are different when using many servers behind.. 
Back to top
Login to vote
migreen

External


Since: Sep 05, 2003
Posts: 173



(Msg. 2) Posted: Fri Oct 03, 2003 10:26 pm
Post subject: RE: Content etags are different when using many servers behind load balancer [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The ETag for a given object is based on the last modified timestamp on the
file, and a changenumber in the metabase...
It is not exposed, but you can get it at: mdutil get w3svc -prop 2039

By changing this metabase value to the same value on all web servers in
your server cluster, the same etag will be produced for the same objects on
seperate machines.

The following syntax is an example on what to set the value to : mdutil set
w3svc -prop 2039 -value "0x8037"

Thank you for choosing Microsoft
Miriam Green
Microsoft Developer Support

This posting is provided “AS IS” with no warranties, and confers no rights.
You assume all risk for your use. © 2002 Microsoft Corporation. All rights
reserved.

 >> Stay informed about: Content etags are different when using many servers behind.. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Replication of content across servers in a web farm - Been looking for some info on the techniques/tools you are using to replicate content across all servers in your web farms. The farm runs with Windows 2003 (Web Server edition) servers. The designers are uploading images/PDFs thru FTP access all the..

switching between servers - Our web server uses IIs 4.0, we currently have 9 servers that receive the traffic for our site, at times a server can crash and a customer calls us complaining, since we access the backdoor of the website functions on the real world servers, is there...

DateDiff problem on different servers - I have an ASP page that lists files and folders in a directory. I'm using a cookie to record the last time this page was visited, and I intend to show links that are created/modified from that date minus 30mins to the present... eg effectively new and..

Expire FTP content - I just had a request from a developer to see if we can expire content served from an ftp site just like we can with a website. I don't think there is... The app basically ftp's a doc down to the users box so they can edit it. When they press save, it...

Servers freezes after period of inactivity... - I have a strange problem and don;t know the reason. I'm testing with multiple domains now. 1 forwarded, 1 parkerd, 1 asp-driven domain and 1 standard domain (eg like index.html etc.) When there are no pages server for a period the server becomes quite....
   Web Hosting and Web Master Forums (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]