Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Web.config on load balanced servers

Reply
Thread Tools

Web.config on load balanced servers

 
 
Tim Barton
Guest
Posts: n/a
 
      05-05-2006
Hi,
I'm building an application that will probably sit on some load balanced
servers at some point and I'm concerned about keeping configuration settings
in the web.config file. Is there a tried and tested method of holding config
information in static classes or in the cache that someone could point me
to?

Cheers,
Tim.


 
Reply With Quote
 
 
 
 
Brock Allen
Guest
Posts: n/a
 
      05-06-2006
If you want a single location for configuration data, consider the database.
But then of course you have a bootstrapping problem of how to tell each server
what database to connect to. At some point, each server needs to be informed
where to go look for your configuration data.

-Brock
http://staff.develop.com/ballen


> Hi,
> I'm building an application that will probably sit on some load
> balanced
> servers at some point and I'm concerned about keeping configuration
> settings
> in the web.config file. Is there a tried and tested method of holding
> config information in static classes or in the cache that someone
> could point me to?
>
> Cheers,
> Tim.



 
Reply With Quote
 
 
 
 
Tim Barton
Guest
Posts: n/a
 
      05-12-2006
Thanks for that. What I was really thinking about was to use a database for
the settings but to load them to memory at app start. They would then sit in
a static class or the system cache for fast retrieval. Then when the config
changes the in memory stuff is re-populated with the new data. When this is
running across several machines is there a way of keeping the data
consistent on them all?

Cheers,
Tim.



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cache, Applicatin and Load Balanced servers 3P ASP .Net 1 04-24-2010 12:06 AM
anyone upload code to load balanced servers? HK ASP .Net 0 02-28-2006 11:04 PM
accessing WebService from asp.net App on load balanced Servers Jason ASP .Net Security 8 12-02-2005 01:49 AM
Cisco Fast Etherchannel and Intel Pro/1000MT Quad - TX Unicast Not Load Balanced Nikolai Schupbach Cisco 0 02-23-2004 09:00 AM
multilink vs load balanced Mike H Cisco 1 12-16-2003 03:05 PM



Advertisments