Optimization and Performance
Having a fully functional HTTP API is the main concern when transmitting data over HTTP, but once lots of traffic starts to come in, you should realize that there might be bottlenecks and they could affect the performance of an application. Most concerns are application-specific, but there are some common scenarios and best practices that ought to be taken into consideration when you are building an application.
This chapter will look at both server- and HTTP-level concerns to see what parts of the application can be optimized for high performance and how that optimization can be accomplished. After a first ...