Often, when dealing with large amounts of data, we run into performance bottlenecks. These can happen for any number of reasons, and can mostly be avoided by good caching. If you are wondering what I mean by caching, we’ll look at an example in a moment.
- We should identify the need for using caching, in the first place. We will not be able to realize the full potential of caching unless we understand the problems that it solves.
- We need to learn how to access Memcached servers, which we will use to store cached data. This requires us writing the classes to interact with a Memcached server.