IIS vs Kestrel performance comparison

前端 未结 5 1347
清酒与你
清酒与你 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:59

    As for why in-process hosting in IIS is faster (taken straight from the docs):

    Using in-process hosting, an ASP.NET Core app runs in the same process as its IIS worker process. In-process hosting provides improved performance over out-of-process hosting because requests aren't proxied over the loopback adapter, a network interface that returns outgoing network traffic back to the same machine.

    See Hosting Models.

提交回复
热议问题