© Jonathan Bartlett 2019Jonathan BartlettBuilding Scalable PHP Web Applications Using the Cloudhttps://doi.org/10.1007/978-1-4842-5212-3_6
6. Improving Scalability with Caching
This chapter will cover several adjustments to the basic two-tier architectures described in the previous chapter.
6.1 Understanding Caching Architectures
In our current application, the database is the main bottleneck. This means that adding more web servers will not substantially increase the load that the cloud can handle. When you discover a bottleneck, it is good to take some time and think about ways that the bottleneck can be avoided.
In our case, our data doesn’t really change all that often. Even if it did, getting up-to-the-second ...