Suresh,Terracota 在 Java EE 应用程序服务器中使用时确实提供了显着的性能提升。
The Terracotta Server can be thought of as a shared L2 for all machines to leverage. Access to the L2 costs more than access to the L1—in the case of Terracotta, this is due to the fact that the L2 is across a network connection from all JVMs—but the L2 is cheaper than other I/O such as database or messaging that would otherwise be invoked.
相比之下,Zing Platform (Azul-Systems) 通过消除堆大小限制进行扩展,允许每个实例无缝且弹性地扩展到数百 GB 的堆内存和数十个内核。传统的 JVM 无法扩展到超过 2-3 GB。
应用服务器集群不提供缓存。集群用于负载平衡和故障转移,并简化了一些管理任务。集群提高了水平可扩展性,缓存提高了垂直可扩展性。两者兼备是一个杀手组合:)