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

6. Improving Scalability with Caching

Jonathan Bartlett1 
(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 values ...

Get Building Scalable PHP Web Applications Using the Cloud: A Simple Guide to Programming and Administering Cloud-Based Applications 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.