Please view the "Use Session Variables wisely" section of the Performance Best Practices - Logic documentation page for OS11.
The statement is in the remarks section:
"If you have a sessionless service then removing the session altogether (setting session as InPRoc) is a good way of increasing the performance."
I am not finding what this concept references on the platform concerning session variables.
Is this a typo/error in the documentation or a concept on which I am not finding information?
Hi Ouen,
it is related to session object storage. InProc Session State Mode stores session data in a memory object in the application worker process (aspnet_wp.exe) in the application domain. It is usually the fastest, but more session data means more memory is used on the web server, and that can affect performance.
Thanks
CV
That would mean the setting referred to in the documentation can only be managed directly on IIS for a specific application pool, and it would need to be done on all front-end servers for the change to be effective for an application.
This would only apply to traditional web applications running on an on-premise installation.
Thanks, CV. I will request that the documentation be updated to clarify this.
https://success.outsystems.com/documentation/11/reference/outsystems_language/data/handling_data/session_variable/
https://learn.microsoft.com/en-us/troubleshoot/developer/webapps/aspnet/development/session-data-lost-inproc-mode
https://learn.microsoft.com/en-us/previous-versions/aspnet/ms178586(v=vs.100)
Here is a post that may assist anyone who attempts to configure this setting.https://www.outsystems.com/forums/discussion/60471/factory-configuration-how-to-setup-the-web-config-file-to-send-http-security/