23 Eylül 2022 Cuma

SpringCache Infinispan Kullanımı

Giriş
Açıklaması şöyle. Sanırım Hazelcast ile aynı işi görüyor. Yani hem embedded hem de data grid gibi kullanılabiliyor
Infinispan is an open-source in-memory data grid that offers flexible deployment options and robust capabilities for storing, managing, and processing data. Infinispan provides a key/value data store that can hold all types of data, from Java objects to plain text. Infinispan distributes your data across elastically scalable clusters to guarantee high availability and fault tolerance, whether you use Infinispan as a volatile cache or a persistent data store.
Bir örnek burada

Maven
Şu satırı dahil ederiz
<dependency>
  <groupId>org.infinispan</groupId>
  <artifactId>infinispan-core</artifactId>
</dependency>
Örnek
Şöyle yaparız
spring.cache.infinispan.config=infinispan.xml




Hiç yorum yok:

Yorum Gönder