Hazelcast

开源内存数据网格。「Open Source In-Memory Data Grid」

Github星跟蹤圖

Hazelcast is a clustering and highly scalable data distribution platform.

With its various distributed data structures, distributed caching capabilities, elastic nature, memcache support,
integration with Spring and Hibernate and more importantly with so many happy users, Hazelcast is feature-rich,
enterprise-ready and developer-friendly in-memory data grid solution.

Features:

  • Distributed implementations of java.util.{Queue, Set, List, Map}.
  • Distributed implementation of java.util.concurrent.locks.Lock.
  • Distributed implementation of java.util.concurrent.ExecutorService.
  • Distributed MultiMap for one-to-many relationships.
  • Distributed Topic for publish/subscribe messaging.
  • Distributed Query and Aggregators.
  • Synchronous (write-through) and asynchronous (write-behind) persistence.
  • Transaction support.
  • Specification compliant JCache implementation.
  • Native Java, .NET, C++ clients, Memcache and REST clients.
  • Socket level encryption support for secure clusters.
  • Second level cache provider for Hibernate.
  • Monitoring and management of the cluster via JMX.
  • Dynamic HTTP session clustering.
  • Support for cluster info and membership events.
  • Dynamic discovery, scaling, partitioning with backups and fail-over.

Getting Started

See Getting Started Guide

Documentation

See documentation at www.hazelcast.org

Code Samples

See Hazelcast Code Samples

Releases

Download from www.hazelcast.org

Or use Maven snippet:

<dependency>
    <groupId>com.hazelcast</groupId>
    <artifactId>hazelcast</artifactId>
    <version>${hazelcast.version}</version>
</dependency>

Snapshot Releases

Maven snippet:

<dependency>
    <groupId>com.hazelcast</groupId>
    <artifactId>hazelcast</artifactId>
    <version>${hazelcast.version}</version>
</dependency>
<repository>
    <id>sonatype-snapshots</id>
    <name>Sonatype Snapshot Repository</name>
    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
    <releases>
        <enabled>false</enabled>
    </releases>
    <snapshots>
        <enabled>true</enabled>
    </snapshots>
</repository>

Building From Source

Pull latest from repo git pull origin master and use Maven install (or package) to build mvn clean install.

Testing

Hazelcast has 3 testing profiles:

  • Default: Type mvn test to run quick/integration tests (those can be run in parallel without using network).
  • Slow Tests: Type mvn test -P slow-test to run tests that are either slow or cannot be run in parallel.
  • All Tests: Type mvn test -P all-tests to run all tests serially using network.

Checkstyle and SpotBugs

Hazelcast uses static code analysis tools to check if a Pull Request is ready for merge.
Run the following commands locally to check if your contribution is Checkstyle and SpotBugs compatible.

mvn clean validate -P checkstyle
mvn clean compile -P spotbugs

Contributing to Hazelcast

We encourage Pull Requests and process them promptly.

To contribute:

For an enhancement or larger feature, create a GitHub issue first to discuss.

Mail Group

Please join the mail group if you are interested in using or developing Hazelcast.

http://groups.google.com/group/hazelcast

License

Hazelcast is available under the Apache 2 License. Please see the Licensing section for more information.

Copyright (c) 2008-2020, Hazelcast, Inc. All Rights Reserved.

Visit www.hazelcast.com for more info.

主要指標

概覽
名稱與所有者hazelcast/hazelcast
主編程語言Java
編程語言Java (語言數: 7)
平台Amazon AWS, Google Cloud Platform, Kubernetes, Linux, Mac, Microsoft Azure, Unix-like, Windows
許可證Other
所有者活动
創建於2012-03-21 12:25:18
推送於2025-05-20 13:01:10
最后一次提交2025-05-20 13:58:18
發布數288
最新版本名稱v5.5.0 (發布於 )
第一版名稱v1.9.3 (發布於 2012-03-26 10:28:50)
用户参与
星數6.3k
關注者數293
派生數1.9k
提交數40.2k
已啟用問題?
問題數8693
打開的問題數1218
拉請求數14543
打開的拉請求數5
關閉的拉請求數3193
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?