Caching
A fundamental rule about computers is that the farther the data is from your computer, the longer it takes for your computer to retrieve it. For example, you can open a file that’s local to your computer more quickly than you can download information from the Internet. This is because the Internet consists of servers that are outside your computer, and it takes more time for your computer to obtain those servers’ data.
Let’s take a look at an example of how this can be a major deal for the software we write.
Imagine that we’re building an app that searches the web for the cheapest price available for various physical products. The user enters something like “Vroom-Master Vacuum Cleaner 3000,” and our app scours the Internet to find whichever ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access