数据网格平台-Infinispan
2010-12-24 09:42:42 阿炯

本站赞助商链接,请多关照。

Infinispan 是个开源的数据网格平台。它公开了一个简单的数据结构(一个Cache)来存储对象,支持分布式,也可以在本地模式下运行Infinspan。Infinispan可以将集群缓存起来并公开大容量的堆内存,这可比简单的复制强大的多,因为它会为每个结点分配固定数量的副本——服务器故障的一种恢复手段,同时还提升了可伸缩性,这是由于存储每个结点所需的工作量是与集群大小息息相关的。采用java开发并在LGPL协议下授权。

Infinispan提供了一种简单的机制来利用大容量的堆内存。如果对每个结点维护一个拷贝,假如集群当中有100个结点,每个结点分配2GB的堆内存,那么网格中的任何实例都能使用多达100GB的空间,显然速度会非常快。同时Infinispan还兼容于JTA,这样它就能很好地处理事务了。我们还有一个超级强大的异步API,它可以保证同步的网络调用以及异步调用的并行性及可伸缩性。比方说:Future f = cache.putAsync(k, v) 可以阻塞线程,再调用f.get()可以让网络调用继续进行或是忽略掉f。更为重要的是,线程还可以做别的事情,这一点非常有用,然后再回来通过调用 f.get()来检查该网络调用是否能继续进行。可以将其看作是NIO与传统的阻塞性IO之间的关系。

Infinispan is an extremely scalable, highly available data grid platform - 100% open source, and written in Java.  The purpose of Infinispan is to expose a data structure that is highly concurrent, designed ground-up to make the most of modern multi-processor/multi-core architectures while at the same time providing distributed cache capabilities.  At its core Infinispan exposes a JSR-107 (JCACHE) compatible Cache interface (which in turn extends java.util.Map).  It is also optionally is backed by a peer-to-peer network architecture to distribute state efficiently around a data grid.

Offering high availability via making replicas of state across a network as well as optionally persisting state to configurable cache stores, Infinispan offers enterprise features such as efficient eviction algorithms to control memory usage as well as JTA compatibility.

In addition to the peer-to-peer architecture of Infinispan, on the roadmap is the ability to run farms of Infinispan instances as servers and connecting to them using a plethora of clients - both written in Java as well as other popular platforms.

Infinispan公开了一个CacheStore接口和几个高性能的实现,包括JDBC CacheStores、基于文件系统的CacheStores以及Amazon S3 CacheStores等等。CacheStores可用作“温启动(warm starts)”或是确保网格中的数据在重启后依然可用,同时在内存耗尽时还能将数据写到磁盘上。

特点

* 大量的堆体

* 极高的可扩展性

* 快速轻量级核心

* 不仅仅支持Java(PHP,Python,Ruby,C…)

* 支持Compute Grids

* 管理是关键:当你在grid上运行几百个服务时,实现可管理是必须的


最新版本:8.0


官方主页:http://www.jboss.org/