We have a product called webbuilder that allows customers to manage
their website from within internet explorer.  We keep all the content
stored in a database - which is unfortunate because its really static
data - its only changed every once in a while.

I modified the page rendering code to use the Cache object to store each
page - so that a DB call is not required for every page view.  I simply
added a few lines to the editor do that when changes are made it
invalidates the cache for the affected pages.

Now this works excellently on a single web server.

It falls apart on a clustered web farm.

Has anyone worked out how to get the cache to be coherent across members
of a web cluster?

I am thinking that perhaps a file dependancy on a central server might
work.

I suppose I am not even really looking for true coherency - just the
ability to invalidate the cache cluster wide, and each member server can
re-fill the cache on its own.

Anyone done any work along these lines?

Thanks,
--b

Bryan Batchelder 
eBusiness Consultant 
ConnectWise, Inc. 
813-935-7100 x 425 



> -----Original Message-----
> From: Duncan Smart [mailto:[EMAIL PROTECTED]] 
> Sent: Monday, April 22, 2002 8:08 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [DOTNET] Suggestions: How to generate static 
> html pages via .NET
> 
> 
> Going slightly offtopic, but regarding URL Rewriting check out the
> C++ "Friendly ISAPI"  in the docs, that does URL Rewriting:
>   "ISAPIFilter Sample: Maps URLs to Parameterized Queries"
>   
> ms-help://MS.VSCC/MS.MSDNVS/vcsample/html/vcsamISAPIFilterSamp
> leMaps.htm
> 
> So you can map
>   http://myserver/Products.aspx?id=123
> to something more "friendly" like:
>   "http://myserver/Product123.htm";
> 
> (kind of like how Content Management Server does)
> 
> Cheers,
> Duncan
> [EMAIL PROTECTED]
> 
> 
> 
> On Mon, 22 Apr 2002 12:29:38 +0100, Richard Birkby 
> <[EMAIL PROTECTED]> wrote:
> 
> >You could always write some URL Rewriting mechanism for 
> ASP.Net so that 
> >the search engine would see it as something completely different.
> >
> >
> >Richard
> >...Mental Note...must write-up an article on URL Rewriting soon.
> >
> 
> You can read messages from the DOTNET archive, unsubscribe 
> from DOTNET, or subscribe to other DevelopMentor lists at 
> http://discuss.develop.com.
> 

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to