3 ms·
Does anyone know if .NET runtime is multitenant? Would be great to know about the alternatives (and their future plans).
by polskibus 13y ago
Does anyone know if .NET runtime is multitenant? Would be great to know about the alternatives (and their future plans).
- kevingadd 13y ago.NET has a feature called 'application domains' which provides stuff pretty similar to this, but I don't know if the support is as complete. They use it for security sandboxing, on-demand code loading/unloading, etc. http://msdn.microsoft.com/en-us/library/2bh4z9hs.aspx http://msdn.microsoft.com/en-us/library/2bh4z9hs.aspx
- rektide 13y agoI believe in Mono if one does Ahead-of-Time compilation the bytecode is just mem mapped in and can be shared between runtimes, giving you much of the advantage of this work.
- pjmlp 13y agoThere is no bytecode any longer when you do AOT, just plain pure native code.
- SideburnsOfDoom 13y ago.Net runs in various places. Under IIS, you're thinking of Application Pools http://stackoverflow.com/questions/3868612/what-is-an-iis-application-pool http://stackoverflow.com/questions/3868612/what-is-an-iis-ap...
- polskibus 13y agoan app pool usually (without farm setting) translates to one w3wp process, so the deduplication doesn't take place. That would mean there's no real multitenancy in IIS via app pools.
- silverlake 13y agoYes, .NET has had Application Domains since the beginning. It can be used for exactly this purpose. "You can run several application domains in a single process with the same level of isolation that would exist in separate processes, but without incurring the additional overhead of making cross-process calls or switching between processes. The ability to run multiple applications within a single process dramatically increases server scalability." http://msdn.microsoft.com/en-us/library/2bh4z9hs.aspx http://msdn.microsoft.com/en-us/library/2bh4z9hs.aspx