YARP has a higher cpu usage than Nginx
- Dominant language
- C#
- Stars
- 9.6k
- Forks
- 933
- Avg merge
- 12d 18h
- Merged PRs (30d)
- 2
Description
Sorry, I don't know if it is a bug.
### Describe the bug
I deployed 3 nginx at HongKong, and deployed 3 YARP at HangZhou.
> Client -> Nginx -> Yarp -> Service
Nginx forwards some services, and YARP forward one of them.
Nginx CPU

YARP CPU

YARP other metrics

Htop (Cat.Service.dll is based on YARP)

I tried to analyze the CPU on vs
Top function

Module View

### To Reproduce
No exception.
### Further technical details
- Include the version of the packages you are using
2.1.0
- The platform (Linux/macOS/Windows)
Linux
They're all 4c8g, YARP on ubuntu 22.04, nginx on centos.
YARP 2.1.0 runs on .NET 8.
Contributor guide
Assessment
This issue has not been assessed yet.