天天看點

DotNetCore跨平台~性能測試~可以放心使用了

使用dotnetCore釋出站點後,它的處理請求能力不遜色IIS等大型服務的能力,号稱每秒能處理115萬個請求,太牛X了也。

先看看它支援的資料庫

以下主流資料庫都是為支援的

Microsoft SQL Server

SQLite

Npgsql (PostgreSQL)

MySQL

Microsoft SQL Server Compact Edition

IBM Data Servers

InMemory (for testing)

再看看老外測試出來的結果

ASP.NET Core – 2300% More Requests Served Per Second

ASP.NET Core – Exceeds 1.15 Million request/s, 12.6 Gbps

2300% More Requests Served Per Second

1.15 Million represents a 2300% gain from ASP.NET 4.6!

The third decimal place 0.05 Million (e.g. 50,000) is around the total number of requests per second that ASP.NET 4.6 could perform of the same type, on the same hardware – as shown in the below graph:

這種吞吐量應該可以被授受和認可了!

在Linux上部署很容易

安裝指令如下:

沒有了dnvm的身影,直接用apt-get安裝,與linux有了更好的融合。

建立并運作一個hello world程式試試:

這樣就可以看到hello world了,挺好!