BentOnCoding
BentOnCoding

Reputation: 28168

How to measure the average speed of my web service?

I have written a REST web service. I want to get some performance statistics for client reference. What is the best way to measure the performance of my service ? Should I run a timer from the client making the request or the time it takes the server once a request is received.

How can effectively measure the speed of my web service ?

Note**

I'm aware that the answers to this question borders on being opinion, however I think that there is a consensus approved approach for getting these stats.

Upvotes: 0

Views: 570

Answers (1)

Tom van der Woerdt
Tom van der Woerdt

Reputation: 29975

Benchmark it. Apache provides the ab tool, which does this for you.

It will show you how many requests the server can handle per second. You can even fine-tune your settings, since it has a lot of options (like concurrency, the way of connecting, etc).

Of course, there are a lot of other benchmark tools

Upvotes: 2

Related Questions