B.4. Use Output and Data Caching

Many of the Web services you'll build, at least initially, will expose data to clients. You can cache returned data in memory to reduce the number of hits on your back-end data source (the database). Naturally, the rule of “nothing comes for free” applies here so whether you use output or data caching you need to buy lots of RAM for your server.

Get Real World XML Web Services: For VB and VB .NET Developers 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.