You are on page 1of 1

Chapter 7 Applications

As our REST service only serves GET request and gives 404 error for all other requests, it can be used in situations where HTTP verbs other than GET are not required. Like for an instance, suppose B.E. engineering results for Pune university are to be displayed on its website. As the number of users accessing the result is greater than the threshold value than response time increases and many requests also start failing. This can be reduced to some extent by cutting off part of service which requires POST, PUT, DELETE etc. Now as University website is very complex containing various other services which requires HTTP verbs like POST, PUT etc. Here in this scenario our idea can be used. We can improve the scalability for GET requests by temporarily blocking the other requests. Accessing a resource requires only GET request so for viewing results other HTTP verbs wont be required. So, It can be used where high number of users accesses the service. It improves the performance, response time which is very crucial sometimes but it does this at the cost of less services.

You might also like