gpt4 book ai didi

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

转载 作者:行者123 更新时间:2023-12-01 12:04:12 25 4
gpt4 key购买 nike

缓存失效

有 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com