java - 我应该使用哪个缓存提供程序来发送 Oracle JDBC 数据库更改通知

标签 java caching ehcache ojdbc dynacache

缓存失效

有 Ehcache、DynaCache 和 JCS 等用于失效的选项。 在开始理解和学习该库之前,我想知道我应该考虑哪个缓存提供程序。有什么建议吗?

最佳答案

简而言之,这取决于您的拍摄目的

JCS 旨在增强动态 Web 应用程序。 JCS 使用可插拔 Controller 作为缓存区域(或复合缓存)。这些区域分为内存、磁盘、横向和远程。关于故障转移,

JCS provides a framework with no point of failure, allowing for full session failover (in clustered environments), including session data across up to 256 servers JCS has a wick nested categorical removal, data expiration (idle time and max life) Extensible framework, fully configurable runtime parameters, and remote synchronization, remote store recovery, Non-blocking "zombie" (balking facade) pattern

Ehcache

Is a java distributed cache for general purpose caching, J2EE and light-weight containers tuned for large size cache objects. It features memory and disk stores, replicate by copy and invalidate, listeners, a gzip caching servlet filter, Fast, Simple.One of its features is to cache domain objects that map to database entities. As the domain objects that maps to database entities is the core of any ORM system that’s why Ehcache is the default cache for HibernateWith Ehcache you can serialize both Serializable objects and Non-serializable.

更多详情可以引用here

关于java - 我应该使用哪个缓存提供程序来发送 Oracle JDBC 数据库更改通知,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27763945/

相关文章:

asp.net - 应用程序池的Appfabric缓存和回收

caching - Spark会自动缓存一些结果吗?

java - 并行部署的 web 应用程序的所有版本的缓存都已关闭

java - 将选项/参数文件传递给 Maven 编译器插件

Java 字符串解析和评估

java - Exec 失败错误 - launch4j Maven 插件

java - ehcache 或 Spring MVC 的 Spring 缓存中的最佳缓存实践是什么?

java - 从不同的 HTTP 请求访问 Spring bean

caching - 如何在 Java 中缓存 JAX-WS stub /端口?

java - 基于 Spring 的单个 ehcache 管理器,用于多模块项目中的多个 ehcache.xml 文件