i have just migrated from a single web server environment to a multiwebserver environment and i have been using nhibernate an开发者_如何学Pythond the syscache 2nd level cache in the past.
I know i need to move to a distributed nhibernate 2nd level caching solution (memcache, velocity, etc) but (for a bunch of reasons), its going to take a little time to do that migration.
Is there anything in particular that i need to worry about with my current state (of using Syscache level 2 cache in a multi webserver environment for now) or is it just not going to be as performant as a distributed solution (given i will essentially have local parallel caches on each webserver versus a centralized cache across servers).
I am basically trying to figure out if this are any problems with this setup or its just not as fast as it could be.
In a web farm environment it is recommended to use a distributed cache or each web server will have its own copy of the cache which could be less efficient. Syscache
uses the the default ASP.NET cache provider so it will perform as fast as this default ASP.NET cache. By default it is stored in memory of each web server.
So SysCache using the default ASP.NET cache will work in a web farm environment but will not be as efficient if you used a distributed cache.
精彩评论