发布于 2016-08-23 00:51:19 | 195 次阅读 | 评论: 0 | 来源: 网友投递

这里有新鲜出炉的精品教程,程序狗速度看过来!

Hazelcast 数据分发和集群平台

Hazelcast是一个高度可扩展的数据分发和集群平台,可用于实现分布式数据存储、数据缓存。


Hazelcast 3.7 General 发布了,主要更新如下:

Custom eviction policies: In Hazelcast you could always set an eviction policy from one of LRU or LFU. But what if you want more flexibility to suit custom requirements of your app. Custom eviction policy exactly helps on that. We implemented a custom eviction both for our Map and JCache implementations. Here you can see an example of an odd-based evictor. It works with our O(1) probabilistic evictors. You simply provide a comparator and we choose the best eviction candidate.

/**
    * Odd evictor tries to evict odd keys first.
    */
   private static class OddEvictor extends MapEvictionPolicy {


       @Override
       public int compare(EntryView o1, EntryView o2) {
           Integer key = (Integer) o1.getKey();
           if (key % 2 != 0) {
               return -1;
           }


           return 1;
       }
   }

Fault-Tolerant ExecutorService:  Imagine you send executables to hazelcast nodes and they take hours to complete. What if one the nodes crashes and you do not know whether the task completed or not? In 3.7, we introduce DurableExecutorService~. It guaranteesexecute at least oncesemantics. Its API is a narrowing ofIExecutorService~. Unlike IExecutorService, users will not be able to submit/execute tasks to selected member/members.

Zone Aware Partition Groups:  Hazelcast will provide availability zone aware partition groups configuration (AWS). Also partition grouping will be provided for Azure failure domains and for Availability Zones when available. To ensure that real redundancy is provided, the backups are located in the other Zone. High availability is provided in this way.

New Cloud Integrations: We are releasing the CloudFoundry and OpenShift plugins parallel to the 3.7 release. The Hazelcast members deployed to CloudFoundry and OpenShift will discover each other automatically. Also you will have an option to connect and use Hazelcast as a service inside CloudFoundry and OpenShift. You also have the option of using this with Docker – https://hub.docker.com/r/hazelcast/openshift/. See Rahul’s following blog to learn more about using the CloudFoundry Integration.

点击这里查看更多:http://blog.hazelcast.com/announcing-hazelcast-3-7-general-availability/



历史版本 :
Hazelcast Jet 0.5 发布,分布式数据处理引擎
Hazelcast 3.7 General 发布,数据分发和集群平台
Hazelcast 3.7 EA 发布,数据分发和集群平台
Hazelcast 3.6 发布,数据分发和集群平台
Hazelcast Simulator 0.6 发布
Hazelcast 3.5 发布,数据分发和集群平台
Hazelcast 3.3 发布,性能提升约达 2 倍
HazelcastMQ v1.0.0 发布,消息处理器
最新网友评论  共有(0)条评论 发布评论 返回顶部

Copyright © 2007-2017 PHPERZ.COM All Rights Reserved   冀ICP备14009818号  版权声明  广告服务