10.10 Using a Hierarchy

only for RuBoard - do not distribute or recompile

10.10 Using a Hierarchy

I covered the advantages and disadvantages of hierarchical caching in Chapter 7. Though a hierarchy can improve your cache's performance, it can also create some new problems. In most cases, the performance improvements are marginal, affecting 5 “10% of requests . The nature and extent of any problems depend mostly on who is operating the other caches. If all caches in the hierarchy are managed by a single organization, the potential for problems is significantly diminished. Interorganizational hierarchies, on the other hand, are more susceptible to issues that outweigh any performance gains.

Performance improvements come in the form of additional cache hits and lower average response times. The percentage of requests that are hits in neighbor caches depends on the size of the hierarchy. Cache hits become more common as the hierarchy membership grows. Hierarchies and meshes also offer better scaling characteristics, which can be critical for organizations with large networks. In other words, an intraorganizational hierarchy may not perform significantly better but may be easier to manage.

If you feel that a cache hierarchy will benefit your service, be sure to find out which intercache protocols the candidate products support. Most products support ICP, which is good if the other caches in a hierarchy are made by different companies. Don't forget to consider the effects of the different intercache protocols. ICP and HTCP add delays to cache misses. Cache Digests may end up using more bandwidth than you save from the extra cache hits.

When it comes to cache hierarchies, especially those among different organizations, I usually advise people to be cautious. Carefully consider the issues described in Chapter 7. To what extent are you willing to rely on your neighbor caches? What if they fail or become compromised? Do you trust the organizations who operate those caches? What is your backup plan in case something goes wrong?

only for RuBoard - do not distribute or recompile


Web Caching
Web Caching
ISBN: 156592536X
EAN: N/A
Year: 2001
Pages: 160

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net