dotnet / dotnet/aspnetcore

Why do a large number of API interfaces occasionally respond slowly?

Open
#62,513 5 comments 0 reactions 0 assignees View on GitHub
area-networking
Dominant language
C#
Stars
38.4k
Forks
10.9k
Avg merge
2d 6h
Merged PRs (30d)
290

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Describe the bug

Why do a large number of API interfaces occasionally respond slowly?
net8
Does VNet not support a large number of API requests? My interface receives a lot of hardware device information and occasionally times out. I found that this interface takes about 10 to 40 seconds to access frequently, and the next time it is accessed, it will be faster. I don't know why, I don't have any logical code. So is the performance of VNet not enough? My server's CPU usage is less than 10%,

![Image](https://github.com/user-attachments/assets/57697cf4-c28a-4937-b6b5-77fc42b4afa9)

### Expected Behavior

_No response_

### Steps To Reproduce

_No response_

### Exceptions (if any)

_No response_

### .NET Version

_No response_

### Anything else?

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.