DotNetCore cross-platform ~ Performance testing ~ You can use it with peace of mind. dotnetcore Performance Testing

Source: Internet
Author: User

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!

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.