efrat
Apr 30th, 2000, 12:09 PM
When i run MTS Components whats better Out-Of-Process
Or in-Of Process? and why
Thanks
Efrat
Clunietp
May 2nd, 2000, 11:32 AM
Shalom Efrat!
Do you mean standard package vs. library package?
A library package can only be run when the app that is using the package resides on the same server. This is useful with IIS apps because transferring data between processes is expensive (because it all has to be marshalled)
Typically, your IIS app will run out-of-process (out of the Inetinfo process) and the MTS component will run in-process (in the same process as your IIS app). This eliminates the need for marshalling across processes, and gives a considerable performance increase. The downside is that you don't have security, the object context (I'm pretty sure) and process isolation
You'll want your MTS package to run out-of-process when you are calling this package from a different machine, or you need to run the package as a specific user, or you want the object context wrapper.
HTH
Lehitraot!
Tom