Home > Software > .NET > ASP.NET
Interview Questions   Tutorials   Discussions   

ASP.NET - Describe and In Process Vs Out of Process component. Which is faster?




372
views
asked mar October 4, 2014 11:41 AM  

Describe and In Process Vs Out of Process component. Which is faster?


           

1 Answers



 
answered By siddhant   0  

In Process Mode:

This is default mode and useful for small application which is hosted on single server. Advantages: - Fastest mode - Simple configuration. Disadvantages: - Session data will be lost if worker process or application domain recycle. - Not ideal for web garden and web form.

Out-of-process session mode(State server mode):

This mode is useful for highly available and scalable applications.Session state is stored in a process called aspnet_state.exe that runs as a windows service which listens on TCP port 42424 by default. Advantages: - Supports web farm and web garden configuration. - Session data is persisted across application domain recycles.This is achieved by using separate worker process for maintaining state.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert