Hazelcast is a great in-memory data grid. Much like Redis, but has way better clustering model.

Strange conf file location

The installation of Hazelcast is stellar, you set up the APT repository and run

# apt-get install hazelcast

to install it. However, the conf file isn't under /etc as you would expect, but is instead to be found under this path:


Having it to listen on something else than the loopback device


<interfaces enabled="true">

to the IP of the interface on which you want Hazelcast to listen:

<interfaces enabled="true">

Restart the Hazelcast instance with:

$ hz restart


Hazelcast has a nice, simple REST API. You can enable it by adding the <rest-api> element:

<hazelcast ..>
    <rest-api enabled="true">
      <endpoint-group name="DATA" enabled="true"/>

Good error messages

Here, I've asked it to use LRUs eviction strategy instead of LRU 🤦:

Caused by: org.xml.sax.SAXParseException; lineNumber: 271;
columnNumber: 79; cvc-enumeration-valid: Value 'LRUs' is not
facet-valid with respect to enumeration '[NONE, LRU, LFU, RANDOM]'. It
must be a value from the enumeration.

Licensed under CC BY Creative Commons License ~ ✉ torstein.k.johansen @ gmail ~ 🐦 @torsteinkrause ~