© Jonathan Bartlett 2019
Jonathan BartlettBuilding Scalable PHP Web Applications Using the Cloudhttps://doi.org/10.1007/978-1-4842-5212-3_6

6. Improving Scalability with Caching

Jonathan Bartlett
(1)
Tulsa, OK, USA
 
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 ...

Get Building Scalable PHP Web Applications Using the Cloud: A Simple Guide to Programming and Administering Cloud-Based Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.