Infinispan 9.3.0.CR1 现已发布 ,这也是首个可同时使用 Java 8 和 Java 10 的版本,也可使用 Java 11 的预发行版。值得注意的是,Infinispan 仍然只能在类路径模式下工作。
Expanded transaction support in Hot Rod, which can now participate in Java transactions via Sync or Xa enlistment. Transaction recovery isn't supported yet.
Caches can now configure the maximum number of attempts to start a CacheWriter/CacheLoader on startup before cache creation fails.
Write-behind stores are now fault-tolerant by default
Segmented On-Heap Data Container improves stream operation performance
We have introduced several WildFly feature packs to make it easier for Infinispan to be utilised on WildFly instances via the Server Provisioning Plugin . The following feature packs have been created:
infinispan-feature-pack-client: all of the modules required to connect to a hotrod server via the client
infinispan-feature-pack-embedded: the modules required for embedded instances of Infinispan
infinispan-feature-pack-embedded-query: the same as above but with query capabilities
infinispan-feature-pack-wf-modules: this is equivalent to the wildfly-modules.zip
2-Level cache now works with Hibernate ORM 5.3
The server now allows multiple protocols with a Single Port. The initial version supports HTTP/1.1, HTTP/2 and Hot Rod. Switching protocols can be done using TLS/ALPN and HTTP/1.1 Upgrade header.
Admin console - improved all editors (schema, scripts, JSON data) to include syntax highlighting
Component Upgrades: Hibernate Search 5.10 and Hibernate ORM 5.3
可以看到,现已支持在 Hot Rod 中进行扩展事务,但尚未支持事务恢复;而两级缓存现在可以与 Hibernate ORM 5.3 一起搭配使用;服务器现在允许使用单个端口的多个协议。最初的版本支持 HTTP/1.1, HTTP/2 和 Hot Rod。
还包括了许多提高稳定性的错误修复( 这里是已解决的问题的完整列表 )。
下载地址: https://infinispan.org/download/
Infinispan 是一个开源的数据网格平台。它公开了一个简单的数据结构(一个 Cache)来存储对象。虽然可以在本地模式下运行 Infinspan,但其真正的价值在于分布式,在这种模式下,Infinispan 可以将集群缓存起来并公开大容量的堆内存。这可比简单的复制强大的多,因为它会为每个结点分配固定数量的副本 —— 服务器故障的一种恢复手段 —— 同时还提升了可伸缩性,这是由于存储每个结点所需的工作量是与集群大小息息相关的。