ASP.NET Session / Cache + multi-core cpu server

I have a multi-core server that has my asp.net solution installed. Previously with dual core processor etc. You had to modify your application to NOT use in-proc session state etc. Is this still the case if its a dual core?

Also, does the server cache play a role in this? I had no problem with the session, but when I try to clear the cache from the code, it doesn't work, I have to do an iis reset to clear the cache. - however it works locallay (i have duo core) but not on server (intel pentium D)

Thank.

+1


source to share


2 answers


In progress! = In processor.

You should have no problem (other than the ones that session brings) using the process model on a machine with multiple proc, as the process (aspnet_wp.exe or w3wp.exe) can run on any or all processors.



Http cache? must have items added and removed by key value.

+1


source


you need to use an out-of-process cache client such as Microsoft's speed that can handle both cache and session out of process. It will also decrease if you end up with multiple servers.



0


source







All Articles