Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
189 views
in Technique[技术] by (71.8m points)

c# - Measure resource consumption

Ok I am a relative young developer and I started developing some web api application using ASP .Net Core 3.1, now what I want to to know if you guys know ways to actually measure a web api utilization, resource on our cloud server consumption.

I have deployed 3 web api on a VPS Cloud server, and I need to know which one consumes the most resources so I can evaluate switching to another server or maybe increaase server capacity, this is extremely important for me. If anyone knows a way to do this please any help would be greatly appreciated, dont want full answers, but a point in the right direction is actually needed as I am lost on this subject.

Kind regards, Victor


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

The Microsoft IIS Administration API is a REST API that enables consumers to configure and monitor their IIS web servers. With the API installed on an IIS machine, one can configure an IIS instance with any HTTP client including the web management tool at https://manage.iis.net.

The monitoring API provides performance and health data for the web server, web sites, and application pools. This data can be used to measure how effectively resources are being used.

For more information about it, you can refer to this link.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...