我并不是说Header解析成为性能瓶颈,我只是强调这样的测试数据没有现实意义。
我并没有说ASP.NET core性能差,我只是觉得这种测试环境产生的测试数据仅仅是个噱头,不现实。
我觉得任何web服务器在windows下使用IOCP+缓存池的模式(不在应用层new对象),精简定制化的长连接测试应该都可以达到这个量级(而且游戏更可能采用websocket除了握手都不存在Header解析一说)。[/quote]
老的asp.net 就达不到这个要求。现在的论题是什么?
We are building Age Of Ascent – an ultra-MMO; a new scale of game. Born in the cloud, it enables tens of thousands of pilots to be in the same battle; and millions of players to be in the same single-sharded universe – which can be accessed anywhere at any time, on any device.
Our communication mechanism between these micro-services is entirely ASP.NET Core based on David Zhao’s excellent Service Fabric ASP.NET Core Hosting example.
This means our entire system’s responsiveness and performance hinges on the performance of ASP.NET Core. This is why it is important; and why we strive for performance. The more we can do; the richer an experience we can create for our players – at a lower cost.
.NET Core and ASP.NET Core are really shaping up to be the frameworks that we not only want, but also need.
asp.net core只提供了两个server,一个weblistener ,基于http.sys;一个kestrel,基于libuv。前者只能用于windows,后者可以跨平台。基本上你想用现成的,你应该没有什么别的选择。
当然了,你可以写封装自己的server。反正我是不会, 就算是会,我也不想去做。
老的asp.net 就达不到这个要求。现在的论题是什么?
We are building Age Of Ascent – an ultra-MMO; a new scale of game. Born in the cloud, it enables tens of thousands of pilots to be in the same battle; and millions of players to be in the same single-sharded universe – which can be accessed anywhere at any time, on any device.
Our communication mechanism between these micro-services is entirely ASP.NET Core based on David Zhao’s excellent Service Fabric ASP.NET Core Hosting example.
This means our entire system’s responsiveness and performance hinges on the performance of ASP.NET Core. This is why it is important; and why we strive for performance. The more we can do; the richer an experience we can create for our players – at a lower cost.
.NET Core and ASP.NET Core are really shaping up to be the frameworks that we not only want, but also need.