GridGain是一个开源的网格计算框架,专著于提供平行计算能力,能够与JBoss和Spring相集成。
GridGain 是基于Java 5并行计算模型,使用起来很方便:
Grid grid = GridFactory.getGrid();
// Get cloud-wide thread pool instance.
ExecutorService pool = grid.newGridServiceExecutor();
// Run callable or runnables on the cloud...
pool.submit(new Callable() {
// Task that will be executed on some thread
// somewhere on the cloud (and you can control
// precisely where and how...)
public void call() {
...
}
});
GridGain 3.5 版本主要亮点:
- 显著提升了整个产品的性能
- 移除之前声明为废弃的 APIs
- GridGain Visor 的改进和 bug 修复
- 增强了 GridProjection 接口
- 允许通过编程批量启动远程节点
- Customizable closure-based MapReduce
- Enhancements in affinity and co-location
- Data Grid 的清除策略的 bug 修复
- Swap API 的显著改进和性能的提升
下载 GridGain 3.5
