asp.net INPROC VS出来PROC性能 [英] asp.net inproc vs out of proc performance
本文介绍了asp.net INPROC VS出来PROC性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在考虑在PROC我们的移动Web应用程序会话存储状态服务器。任何人都可以提供任何数字来表现不同?
I'm considering moving our web app session storage from In Proc to State Server. Can anybody give any figures as to the performance difference?
推荐答案
我不能给你的性能指标,但它不会是一样快InProc会话状态,由于某些开销:
I can't give you performance metrics but it won't be as fast as InProc session state due to certain overheads:
- 跨进程调用开销添加
- 对象已经被序列化和deserialised
- 某些对象不能被序列化(XmlDocument的例如或那些从MarshalByRef继承)
这是说你的会话状态数据将生存的应用程序池和IIS重置这可能是你正在考虑改变的原因。
That said your session state data will survive application pool and IIS resets which may be the reason you're considering changing.
这篇关于asp.net INPROC VS出来PROC性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文