Summary

This chapter has given us the chance to look at how one can leverage HTTP optimization methods to improve the performance of RESTful web services. In reducing round trips between clients and servers, as well as the amount of data sent across the wire, service designers can ensure request latencies are kept to a minimum. Other benefits of HTTP optimizations include lower operating expenses due to the reduction in bandwidth and lower power consumption for consumers of the service. This last point is quite important when consumers are mobile devices with a limited battery life.

Beyond HTTP-related optimizations, other techniques discussed in Chapter 10, Scaling a RESTful Web Service, can be employed to further manage web service performances. ...

Get Building a RESTful Web Service with Spring now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.