Questions tagged [hazelcast]

Hazelcast is an open source In-Memory Data Grid platform. The architecture supports high scalability and data distribution in a clustered environment. It supports auto-discovery of nodes and intelligent synchronization.

Hazelcast is an open source In-Memory Data Grid platform. The architecture supports high scalability and data distribution in a clustered environment.

Useful links

2900 questions
64
votes
7 answers

hazelcast vs ehcache

Question is clear as you see in the title, it would be appreciated to hear your ideas about adv./disadv. differences between them. UPDATE: I have decided to use Hazelcast because of the advantages like distributed caching/locking mechanism as well…
javatar
  • 4,542
  • 14
  • 50
  • 67
41
votes
5 answers

redis vs hazelcast

Redis Vs Hazelcast If my app: Have a lot of http requests (6,000 per minute, I collect clicks info) that needs to be saved Have a lot of http requests that query the data previously saved. My Questions are - Which one between Redis and Hazelcast…
Federico
  • 5,438
  • 5
  • 39
  • 47
41
votes
9 answers

Where does Redis store the data

I am using redis for pub/sub as well as for server side cache. I mean my app server has redis server running as one process (functioning as a cache as well) . I have several thin clients (running redis client) connected to this app server in…
user3364247
  • 1,477
  • 3
  • 14
  • 24
36
votes
7 answers

Unable to register MBean [HikariDataSource (HikariPool-0)] with key 'dataSource'

I am getting below error in prod mode for (Java8+Oauth2+MySql+Hazelcast+no clustered http sessions) combination. Dev mode has worked fine. Unable to register MBean [HikariDataSource (HikariPool-0)] with key 'dataSou rce'; nested exception is…
Sudheer
  • 479
  • 1
  • 4
  • 9
30
votes
7 answers

RealWorld HazelCast

Does anyone have any real world experience with Hazelcast distributed data grid and execution product? How has it worked for you? It has an astonishingly simple API and functionality that seems almost to good to be true for such a simple to use…
Bob Clyde
  • 309
  • 3
  • 3
29
votes
2 answers

Zookeeper vs In-memory-data-grid vs Redis

I've found different zookeeper definitions across multiple resources. Maybe some of them are taken out of context, but look at them pls: A canonical example of Zookeeper usage is distributed-memory computation... ZooKeeper is an open source…
VB_
  • 45,112
  • 42
  • 145
  • 293
25
votes
7 answers

How do you programmatically configure hazelcast for the multicast discovery mechanism?

How do you programmatically configure hazelcast for the multicast discovery mechanism? Details: The documentation only supplies an example for TCP/IP and is out-of-date: it uses Config.setPort(), which no longer exists. My configuration looks like…
DaveFar
  • 7,078
  • 4
  • 50
  • 90
19
votes
2 answers

Suddenly I'm getting "Hazelcast instance is not active!"

My application is running for months and working very well. Then suddenly I get the following error: com.hazelcast.core.HazelcastInstanceNotActiveException: Hazelcast instance is not active! at…
leocborges
  • 4,799
  • 5
  • 32
  • 38
17
votes
2 answers

Hazelcast vs. Ignite benchmark

I am using data grids as my primary "database". I noticed a drastic difference between Hazelcast and Ignite query performance. I optimized my data grid usage by the proper custom serialization and indexes, but the difference is still noticeable IMO.…
Alex Rogachevsky
  • 514
  • 1
  • 3
  • 14
17
votes
2 answers

Hazelcast (Java) and ETCD (golang) differences/similarities?

Now we building a realtime analytics system and it should be highly distributed. We plan to use distributed locks and counters to ensure data consistency, and we need a some kind of distributed map to know which client is connected to which…
The Architect
  • 665
  • 9
  • 22
17
votes
5 answers

Clustering and Shared Data in Vert.x

I'm developing in Vert.x (based on Netty and Hazelcast), and I'm trying to share data between two server instances (eache of those instances in different machines, on the same lan). My problem is that I don't know how to configure the vert.x servers…
castarco
  • 1,368
  • 2
  • 17
  • 33
16
votes
2 answers

JGroups, Terracotta & Hazelcast

Trying to wrap my head around these 3 projects and they all seem to handle slightly different problems that arise when trying to cluster. But all the documentation for them is sort of written for developers that are already "in the know", and are…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
14
votes
1 answer

Weird Hazelcat IMap#put() behaviour

My Hazelcast-based program can work in two modes: submitter and worker. Submitter puts some POJO to the distributed map by some key, e.g.: hazelcastInstance.getMap(MAP_NAME).put(key, value); Worker has an infinite loop (with Thread.sleep(1000L);…
Dmytro Titov
  • 2,802
  • 6
  • 38
  • 60
14
votes
1 answer

How is Partitioning done in Hazelcast

I am using Hazelcast v2.5. I have a few doubts related to partitioning in a cluster. How are the partitions identified ? When a m.get request is made how does Hazelcast identify in which partition the data resides? ( apart from the key ) How is…
Hazel_arun
  • 1,721
  • 2
  • 13
  • 17
12
votes
1 answer

Leader election with: Etcd vs Zookeeper vs Hazelcast

We are choosing the best option for implementing a leader election for our service (written in Java) comprised of multiple (e.g., 3) instances for high availability. Our goal is to have only a single instance active at any given time. Would be great…
1
2 3
99 100