Performance of ASP.NET in Mono(Linux) vs IIS(Window)(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 的性能
- 输入按键事件处理程序 2022-01-01
- 如何用自己压缩一个 IEnumerable 2022-01-01
- MoreLinq maxBy vs LINQ max + where 2022-01-01
- 良好实践:如何重用 .csproj 和 .sln 文件来为 CI 创建 2022-01-01
- WebMatrix WebSecurity PasswordSalt 2022-01-01
- 带有服务/守护程序应用程序的 Microsoft Graph CSharp SDK 和 OneDrive for Business - 配额方面返回 null 2022-01-01
- C# 中多线程网络服务器的模式 2022-01-01
- C#MongoDB使用Builders查找派生对象 2022-09-04
- 在哪里可以找到使用中的C#/XML文档注释的好例子? 2022-01-01
- Web Api 中的 Swagger .netcore 3.1,使用 swagger UI 设置日期时间格式 2022-01-01