Get Hazelcast

Hazelcast Go Client


Hazelcast IMDG is a feature-rich and developer-friendly in-memory caching solution for your Go applications.

  • Access all of the Hazelcast data structures plus distributed queues, topics, and more with the Hazelcast IMDG Go Client.
  • Declarative configuration support via JSON.
  • High-performance aggregation functions, such as sum, average, max, and min, for Hazelcast Map entries. They can run in parallel for each partition and are highly optimized for speed and low-memory consumption.
  • Use the Projection API to strip down each result object in order to avoid redundant network traffic.
Quick Start + Download

Quick Start + Download

Quick Start:

Download Hazelcast IMDG and start it.

Use the following command to install the Hazelcast Go client:
go get github.com/hazelcast/hazelcast-go-client

Visit the Github repo for code samples and API documentation.

Version Downloads Documentation
Hazelcast IMDG Go Client 1.1.0 (latest)
09/14/2021
Hazelcast IMDG Go Client 1.0.0
06/13/2021
Hazelcast IMDG Go Client 0.6.0
03/11/2020
Hazelcast IMDG Go Client 0.5
03/20/2019

For all downloads please see the Download Archives

Previous Releases
Roadmap

Roadmap

Upcoming Go Client Features

  • SQL support: Ability to query the data stored in Hazelcast Map declaratively using SQL.
  • Backup Acknowledgment: Significantly improved client performance by eliminating the sync backup wait from the client and send the backup ACK to the client.
  • Hazelcast Serialization 2.0 Support: Querying friendly and space-efficient serialization that has high usability.
  • CP Subsystem Support: New Concurrency APIs including FencedLock, AtomicLong, Semaphore, CountDownLatch, and AtomicReference.
  • Blue/Green Failover Config: Support of the blue/green deployment and disaster recovery features.
  • Sessions in Gorilla: Session backend for Gorilla web toolkit that stores sessions in Hazelcast.

Recently Released Go Client Features

  • Hazelcast 4.0 Compatibility: Client protocol enhancements, architectural improvements, Serialization improvements.
  • Ownerless Client: Simpler design to track member leaves and joins to the cluster.
  • Near Cache: An implementation of Hazelcast’s near cache functionality for the GoLang client.
  • Go Module Support: Allow users to grab a specific client version rather than the master one.
  • Go Context Support
  • More idiomatic API
Client Features

Features Implemented for this Client

DATA STRUCTURES

Go Client

Map

Queue

Set

List

MultiMap

ReplicatedMap

Ring Buffer

Topic

Reliable Topic

JCache

N/A

Cardinality Estimator

CONCURRENCY PRIMITIVES

Go Client

Lock

Condition

Semaphore

AtomicLong

AtomicReference

ID Generator

CountDownLatch

CRDT PN Counter

Flake ID Generator

TRANSACTIONS

Go Client

TxnMap

TxnMultiMap

TxnQueue

TxnList

TxnSet

QUERY

Go Client

Query (Predicates)

Paging predicates

Partition predicate

Built-in Predicates

Continuous Query Caching

N/A

Listener with Predicate

Projections

Fast Aggregations

NEAR CACHE

Go Client

Near Cache Support

HD Memory

N/A

Preload Cache from Last Used

Eventual Consistency Control

CONFIGURATION

Go Client

Declarative Configuration (XML/JSON/YAML)

Programmatic Configuration

Client Configuration Import

Fail Fast on Invalid Configuration

SECURITY

Go Client

SSL Support

XA Transactions

Mutual Authentication

Authorization

Custom Authentication Modules

MANAGEMENT CENTER

Go Client

Management Center Integration / Awareness

Client Near Cache Stats

Client Runtime Stats

Client Operating Systems Stats

CLOUD

Go Client

Hazelcast Cloud

Kubernetes

AWS

Azure

Google Cloud Platform

Pivotal Cloud Foundry

Docker

Apache jclouds

Consul

etcd

Eureka

Heroku

Zookeeper

INFRASTRUCTURE

Go Client

Open Client Protocol

Smart Client

Unisocket Client

Lifecycle Service

HeartBeat

Backup Acknowledgment to Client

Diagnostics

SERIALIZATION

Go Client

DataSerializable

N/A

IdentifiedDataSerializable

Portable Serialization

Global Serializers

CLIENT CONNECTIVITY

Go Client

Connection Strategy

Connection Retry

Blue/Green Deployments and Disaster Recovery

Support for Clients & Languages

Jump into the discussion on our groups.