C# .NET Multi Server or Cloud Structure -
i have social network growing big, lots of features using 'httpcontex.current.cache' class reutilize data without need go data base on every request. know 'httpcontext.current.cache' 'static' have problems multi server , cloud structure. know there way configure sql server utilze cache system well. enough handle requests or there else have do?
by way, have remove of cache features because hold user data...
i asking kind of question here, because testing web site in multi server structure , have problems. have make sure server memory equal server memory b , doing this, know throwing benefits of multi server structure away..
"i have make sure server memory equal server memory b"
i don't think achievable in way.
what want distributed cache
mechanism. common options are:
- appfabric (official add-on iis microsoft)
- ncache (basic version free)
- memcached (mature, popular , considered fast)
keep in mind though, httpcontex.current.cache
static , per app-domain. means once you're switching distributed cache
solution you'll have change calls httpcontex.current.cache
new cache api.
the news are, @ least session state
, output cache
can configured use new cache (using web.config
usually).
Comments
Post a Comment