www.developer.com/open/article.php/3700661
|
September 20, 2007 10. Open TerracottaTerracotta works on hub-spoke architecture. Terracotta is used in a clustered environment. Each application server in the cluster acts as a client node (spoke). Terracotta libraries are installed in the JVM is loaded when each JVM in the cluster is brought up. Then, there is the terracotta server which acts as the hub. It can be backed up by another terracotta server. The terracotta server is implemented in Java. The terracotta server stores objects that are evicted out of each client nodes when the client nodes run low on memory. If the server runs low on memory, objects are passed to disk space on the server. Terracotta supports distributed cache. It also supports locks on objects in a distributed cache. Fine grained replications: Terracotta doesn't require the objects in its cache to be serialized and replicates only changes done to the cache across the cluster. Terracotta provides a view of the statistics of the memory heap of the client/server nodes in the cluster. Terracotta supports:
Comparisons of the various Cache SolutionsEvery application is different, but consider a cache product for the following application:
ConclusionLooking at the comparison sheet, the following two options are recommended:
For a traditional web application that doesn't require HttpSession replication and has traditional serialized objects as data carriers, Jofti appears to be a good solution. However, for a very high-end application where importance is given to a sophisticated distributed cache with vendor support, JBossCache fits the bill References
About the AuthorAleksey Shevchenko has been working with object-oriented languages for over seven years. For the past four years, he has served as a technical lead and a project manager. Aleksey has been implementing Enterprise IT Solutions for Wall Street and the manufacturing and publishing industries. |