问题
In my Node.js application I wanted to connect the Hazelcast node instance and access the Queue/Hashmap of Hazelcast Node. Is there any node.js module available to do this .
Thanks in advance.
回答1:
Thought this question was asked over a year ago, some things have changed. Hazelcast Node.js client in fact does exist and currently provides following features
- implementation of Open Client Binary Protocol
- Map
- Get
- Put
- Remove
- Smart Client - clients connect to each cluster node. Since each data partition uses the well known and consistent hashing algorithm, each client can send an operation to the relevant cluster node, which increases the overall throughput and efficiency. The client doesn't need to be restarted in case of adding or removing nodes from the cluster.
- Distributed Object Listener
- Lifecycle Service
Thank you
回答2:
As far as I know, there is no node.js library for Hazelcast. Some of the functionality is exposed through Memcached btw.
来源:https://stackoverflow.com/questions/26073154/hazelcast-client-module-for-node-js