IIS vs Kestrel performance comparison

前端 未结 5 1360
清酒与你
清酒与你 2020-12-15 17:27

How does the performance of IIS look like comparing to a Kestrel http server?

Seems like Kestrel is significantly inspired by the family of asynchronous and event-dr

5条回答
  •  天涯浪人
    2020-12-15 17:46

    As of Nov 2016, straight from the ASP.NET benchmarks.

    On Windows Server 2012, at a pipeline depth of 16:

    stack        on       RT        requests/sec
    ASP.NET 4.6  IIS      CLR           57,792 
    ASP.NET 5    Kestrel  CoreCLR    1,188,521       
    

    That's a 20x or 2000% speedup. I understand a full blown IIS vs standalong Kestrel but I do hope someone on the ASP.NET team can deep dive on this because the difference is tremendous.

    That and why it's so much slower on Linux.

提交回复
热议问题