Re: Refreshing the cache in web farming environment
- From: Michael Nemtsev [MVP] <nemtsev@xxxxxxx>
- Date: Tue, 25 Mar 2008 11:31:04 +0000 (UTC)
Hello Harsh,
I'd consider using the Cache with SQL based dependencies (SQL server should be a part of farm)
google to find samples or see MSDN
---
WBR, Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour
"The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo
HT> I have some confusion over refreshing the cache in web farming
HT> environment.
HT> HT> We have two sites: 1) Admin site 2) Client Site
HT> HT> We are maintaining many things in cache. Out of which one is say for
HT> example for 'Top-5 Item' Control we are maintaining.
HT> HT> When admin site updates the price of any item from Top-5 Item
HT> Control, it should be reflected immedietly in Client Site.
HT> HT> Now, my Admin site address is, http://sitenameadmin.com/ and my
HT> Client site name is http://Sitename.com. Both are configured
HT> separatly in the IIS, as two web sites.
HT> HT> Earlier, what I have done is...I have made one web service page at
HT> client site. So when admin updates anything from Top-5 item control,
HT> it will call the web service of Client site, and pass the CacheID,
HT> as input parameter. Client site web service is delete that cache,
HT> and will refill it.
HT> HT> It all works OK till this.
HT> HT> Now the problem scenario arise...Client has now asked us to deploy
HT> the
HT> client site (only client site) in web farming environment.
HT> He will create four server, on which we need to deploy our
HT> application. In the above scenario, I feared that the solution will
HT> not
HT> going to work. Because, if admin site calls web method it is not
HT> confirmed that cache from all web server will be refreshed.
HT> The URL of the site will be http://Sitename.com, and network load
HT> balancer will transfer the request to any one of server behind the
HT> farm.
HT> HT> This is the detail senario, of my problem.
HT> HT> I am confuse on how to call diffrent servers in a farm one by one,
HT> or how to add the address in the web.config file.
HT>
.
- References:
- Refreshing the cache in web farming environment
- From: Harsh Trivedi
- Refreshing the cache in web farming environment
- Prev by Date: Re: Updating the datagrid values
- Next by Date: Re: how to pass the value between the page and user control
- Previous by thread: Refreshing the cache in web farming environment
- Next by thread: Updating the datagrid values
- Index(es):
Relevant Pages
|