EnableSessionState = ReadOnly - possible side effects?

前端 未结 2 787
长情又很酷
长情又很酷 2021-01-12 11:45

We have a fairly big web based solution which runs on .Net 4.5. Recently, while we were examining a performance issue where the system seemed to be only serving one request

相关标签:
2条回答
  • 2021-01-12 12:24

    Recently did set sessions to Readonly and it did initially speed up page response performance, we did noticed that any long running posts like a long report from another session would hog up the resources of the entire site, locking up everyone. Our solution was to offload any heavy report processes into a queue to a reporting engine and let the web focus on pages.

    However with session set to full, it could distribute the CPU cycles better to each session and bear the brunt of the other heavy session. That was our observation.

    0 讨论(0)
  • 2021-01-12 12:30

    Still only 62 views?

    Well we've been running this now for about 7 months with no bad side effects, only greatly improved performance. So The answer to my question is "I do not know and no".

    Go ahead :-)

    0 讨论(0)
提交回复
热议问题