Re:Multi-tenant Java 8 VM in beta
by polskibus on Thursday September 19, 2013 @03:22AM
(#6410309)
Does anyone know if .NET runtime is multitenant? Would be great to know about the alternatives (and their future plans).
[ Parent
| on HN ]
.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.
Re:Multi-tenant Java 8 VM in beta
by silverlake on Thursday September 19, 2013 @10:04AM
(#6411662)
Yes, .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."
I 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.
There is no bytecode any longer when you do AOT, just plain pure native code.
Re:Multi-tenant Java 8 VM in beta
by SideburnsOfDoom on Thursday September 19, 2013 @05:22AM
(#6410649)
.Net runs in various places. Under IIS, you're thinking of Application Pools http://stackoverflow.com/questions/3868612/what-is-an-iis-ap...