DotNetCore cross-platform ~ Performance testing ~ You can use it with peace of mind. dotnetcore Performance Testing
After a site is published using dotnetCore, its request processing capabilities are inferior to those of large services such as IIS,It is said that 1.15 million requests can be processed per second, too many.
Let's take a look at the databases it supports.
The following mainstream databases are supported:
- Microsoft SQL Server
- SQLite
- Npgsql (PostgreSQL)
- MySQL
- Microsoft SQL Server Compact Edition
- IBM Data Servers
- InMemory (for testing)
Let's take a look at the testing results from foreigners.
ASP. NET Core-2300% More Requests Served Per Second
ASP. NET Core-Exceeds 1.15 Million request/s, 12.6 Gbps
Congratulations to ASP. NET Core and. NET Core teams and the Open Source. NET community for quite a milestone in performance!
2300% More Requests Served Per Second
1.15 Million represents a 2300% gain from ASP. NET 4.6!
Why 2 decimal places? I'm not sure why Scott Hunter chose that level of precision, but to me it's quite significant...
The third decimal place 0.05 Million (e.g. 50,000) is aroundTotalNumber of requests per second that ASP. NET 4.6 cocould perform of the same type, on the same hardware-as shown in the below graph:
sudo sh -c 'echo "deb [arch=amd64] http://apt-mo.trafficmanager.net/repos/dotnet/ trusty main" > /etc/apt/sources.list.d/dotnetdev.list'sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys 417A0893sudo apt-get updatesudo apt-get install dotnet
Without dnvm, you can directly install it with apt-get, which is better integrated with linux.
Try to create and run a hello world Program:
mkdir hello
cd $_dotnet newdotnet restoredotnet run
In this way, we can see hello world!