블로그 이미지
평범하게 살고 싶은 월급쟁이 기술적인 토론 환영합니다.같이 이야기 하고 싶으시면 부담 말고 연락주세요:이메일-bwcho75골뱅이지메일 닷컴. 조대협


Archive»


 

'요약'에 해당되는 글 1

  1. 2014.02.11 HazelCast 공부 노트
 



Basic Feature Set

* Distributed Map

- Usage is same as java map.

- But it is distributed and clusterd by Hazelcast. (HA supported)

example

HazelcastInstance instance = Hazelcast.newHazelcastInstance(cfg);

        Map<Integer, String> mapCustomers = instance.getMap("customers");

        mapCustomers.put(1, "Joe");


* Distributed Set


* 1:1 Queue

-TBD


* 1:N Topic

-TBD


* Distributed Lock

-TBD


* Distributed Event

- it can add event listener to Map. so some certain Key or data comes in, event listener will be fired. 


* Distributed Executor server

- It is like Queue Consumer (Worker)


* Serialization 

- TBD


* Support persistence

- It can store the K/V to persistence store like file or RDBMS.

- It supportes Write-Behind (asyc) and Write-through (sync). Read Through (if get key is null, load it).

- It needs to check that during the persistence, I think HazelCast cluster will be stopped.



Advanced Feature Set

* Index

* SQL like query

* Transaction

* Entry Listener

* Eviction

* Control partitioning (from 3.1 )

- by using partition key

- map.put("Key@PartitionKey","Value");

the data will be stored in Partition that correspond to the partition key

* Map & reduce

* External add on 

- hazlemr/castmapr - MR framework form Hazelcast 2.x,3.x

- hazelblast - remote invocation


Cluster

* Super Client

- -Dhazelcast.super.client=true

- As fast as any member in the cluster. but hold no-data


Some numbers in Hazelcast

- Default partition amount 271

- Biggest cluster 100+ member

- Handles 100,000 message/sec by using Topic


Reference : 

http://www.slideshare.net/jaxLondonConference/clustering-your-application-with-hazelcast-talip-ozturk-hazelcast?from_search=1

http://www.slideshare.net/uzquiano/hazelcast-and-mongodb-at-cloud-cms

http://www.slideshare.net/ChristophEngelbert/hazelcast-inmemory-datagrid

본인은 구글 클라우드의 직원이며, 이 블로그에 있는 모든 글은 회사와 관계 없는 개인의 의견임을 알립니다.

댓글을 달아 주세요