Hi,
Will application cache work in a web farm environment? I don't think it will
work because each machine in the farm has its own web application. I am
asked to modify existing source codes which utilize application cache, but I
don't want to jump to conclusion.
The source codes belong to a shopping cart application called
AspDotNetStoreFront, just thought I should mention it.
TIA
Alberto Poblacion - 29 Mar 2008 10:16 GMT
> Will application cache work in a web farm environment? I don't think it
> will work because each machine in the farm has its own web application. I
[quoted text clipped - 3 lines]
> The source codes belong to a shopping cart application called
> AspDotNetStoreFront, just thought I should mention it.
No, only the Session state can be configured to be shared across a web
farm. The Cache is local to each of the machines, so it won't be shared
unless you replace the standard asp.net cache with your own mechanism.
See an article here:
http://www.eggheadcafe.com/articles/20030420.asp
Peter Bromberg [C# MVP] - 29 Mar 2008 12:54 GMT
You might want to take a look at MemCached for this. There are several
projects with managed providers on the codeplex.com site. Memcached runs as a
service on each machine, and acts as a distributed cache.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
> Hi,
>
[quoted text clipped - 7 lines]
>
> TIA