Infinispan

advanced https://github.com/githubk1280/infinispan-quickstart

 

5 minute tutorial on Infinispan

https://docs.jboss.org/author/display/ISPN/5+minute+tutorial+on+Infinispan

 

Infinispan tutorial part 1

http://www.mastertheboss.com/infinispan/infinispan-tutorial-part-1

附件有好东东哦!

Infinispan offers four modes of operation, which determine how and where the data is stored:

  • Local, where entries are stored on the local node only, regardless of whether a cluster has formed. In this mode Infinispan is typically operating as a local cache
  • Invalidation, where all entries are stored into a cache store (such as a database) only, and invalidated from all nodes. When a node needs the entry it will load it from a cache store. In this mode Infinispan is operating as a distributed cache, backed by a canonical data store such as a database
  • Replication, where all entries are replicated to all nodes. In this mode Infinispan is typically operating as a data grid or a temporary data store, but doesn't offer an increased heap space
  • Distribution, where entries are distributed to a subset of the nodes only. In this mode Infinispan is typically operating as a data grid providing an increased heap space

Invalidation, Replication and Distribution can all use synchronous or asynchronous communication.

Infinispan offers two access patterns, both of which are available in any runtime:

  • Embedded into your application code
  • As a Remote server accessed by a client (REST, memcached or Hot Rod)

猜你喜欢

转载自k1280000.iteye.com/blog/1807718