November 2005
Intermediate to advanced
528 pages
15h 36m
English
One of the most common methods of increasing performance in an application is to provide data caching. Having the data available locally keeps you from repeatedly opening a database connection and making roundtrips to the server. Reducing the number of trips to the server means that more database resources and network bandwidth are available for other users and additional functionality. Caching can thus increase your overall performance.
Writing effective caching code can be quite a challenge because you need to know when the cache should expire (when the data is stale). For read-only data, this isn’t too difficult to determine because you can simply choose to refresh the data when the application is restarted. ...
Read now
Unlock full access