开发者

asp.net inproc vs out of proc performance

开发者 https://www.devze.com 2023-01-19 07:48 出处:网络
I\'m considering mov开发者_运维问答ing our web app session storage from In Proc to State Server.Can anybody give any figures as to the performance difference?I can\'t give you performance metrics but

I'm considering mov开发者_运维问答ing our web app session storage from In Proc to State Server. Can anybody give any figures as to the performance difference?


I can't give you performance metrics but it won't be as fast as InProc session state due to certain overheads:

  • Cross Process calls add overheads
  • Objects have to be serialised and deserialised
  • Some objects can't be serialised (XmlDocument for example or those that inherit from MarshalByRef)

That said your session state data will survive application pool and IIS resets which may be the reason you're considering changing.

0

精彩评论

暂无评论...
验证码 换一张
取 消