News for hackers. Stuff that matters.
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).
Re:Multi-tenant Java 8 VM in beta by kevingadd on Thursday September 19, 2013 @03:30AM (#6410334)
.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

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."

http://msdn.microsoft.com/en-us/library/2bh4z9hs.aspx

Re:Multi-tenant Java 8 VM in beta by rektide on Thursday September 19, 2013 @03:50AM (#6410389)
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.
Re:Multi-tenant Java 8 VM in beta by pjmlp on Thursday September 19, 2013 @04:55AM (#6410585)
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...
Re:Multi-tenant Java 8 VM in beta by polskibus on Thursday September 19, 2013 @05:40AM (#6410697)
an 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.