Mono(Linux) 与 IIS(Window) 中 ASP.NET 的性能

Performance of ASP.NET in Mono(Linux) vs IIS(Window)(Mono(Linux) 与 IIS(Window) 中 ASP.NET 的性能)

本文介绍了Mono(Linux) 与 IIS(Window) 中 ASP.NET 的性能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 linux 上以 mono 和 iis 托管您的 asp.net 在 Windows 服务器上是否有任何性能差异?

Is there any performance different between hosting your asp.net in mono on linux and iis on window server?

推荐答案

当然是有区别的,就像Java和.Net有性能上的区别一样.但是,它会根据应用程序正在执行的操作而有很大差异.

Of course there is a difference, just like there is a performance difference between Java and .Net. However, it is going to vary widely based on what the application is doing.

.Net 在某些方面比 Mono 快得多.Mono 在某些方面比 .Net 快得多.有些事情他们的表现大致相同.比较在 Windows 或 Linux 上运行的应用程序时也是如此.比较在 IIS 和 Apache 上运行的应用程序时也是如此.

There are things where .Net is much faster than Mono. There are things where Mono is much faster than .Net. There are things where they perform roughly equal. The same holds true when comparing applications running on Windows or Linux. The same holds true when comparing applications running on IIS and Apache.

很可能,两者都可以足够快地运行您的应用程序,并且您会发现您的性能将取决于您的编程技术.每秒几个请求的差异可能不是一个大问题,除非您有一个大型服务器场,在这种情况下,您很可能有资源在两者上进行测试,看看哪个对您的特定应用程序更快.

Likely, either can run your application fast enough, and you will find that your performance is going to be driven by your programming techniques. The difference of a few requests per second probably isn't a huge issue unless you have a large server farm, in which case you most likely have the resources to test on both and see which is faster for your particular application.

这篇关于Mono(Linux) 与 IIS(Window) 中 ASP.NET 的性能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本文标题为:Mono(Linux) 与 IIS(Window) 中 ASP.NET 的性能

基础教程推荐