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
8
votes
1 answer

Combining Spring, Quartz Scheduling and Hazelcast

I am trying to work out how to develop a reasonably scalable batch-processing framework for a webapp I am writing. I am using Spring MVC for the webapp, with a custom DAO layer (to access the database a UnitOfWork instance is needed to be…
Aidos
  • 2,753
  • 3
  • 27
  • 31
8
votes
2 answers

Centralized cache server. (Ehcache or Hazelcast)

Currently we have 2 app severs, each has application level cache and has centralized database server. To keep both servers app cache in sync we have set up JMS broker in between. On cache clear on one server which sends message to JMS, since other…
8
votes
4 answers

Hazelcast REST API

I don't get to work REST API of Hazelcast, receiving always : at client side : ERR_EMPTY_RESPONSE via Browser or java.net.SocketException: Unexpected end of file from server via a Java Test Program. at hazelcast node: INFO: [myIP]:5701 [dev]…
Azimuts
  • 1,212
  • 4
  • 16
  • 35
8
votes
3 answers

Hazelcast: connecting to remote cluster

We have a cluster of Hazelcast nodes all running on one remote system (single physical system with many nodes). We would like to connect to this cluster from an external client - a Java application which uses code as below to connect to Hazelcast: …
gammay
  • 5,957
  • 7
  • 32
  • 51
8
votes
4 answers

com.hazelcast.nio.serialization.HazelcastSerializationException

Am running a OSGI plugin project (with N no of bundles), I have integrated hazel cast in it, i. When I try to add the data as map of string and test bean, It is getting added in hazel cast map but ! ii. When I try to get the map, Its…
Harry
  • 3,072
  • 6
  • 43
  • 100
8
votes
1 answer

How partitioning works in Hazelcast?

From what I have seen the applications of Hazelcast are most commonly found in architectures with more than 50 nodes. Does it makes sense to use Hazelcast on a 1 up to a 4 node architecture? If yes what is the best strategy that I should follow…
maria_k
  • 457
  • 1
  • 5
  • 13
8
votes
2 answers

Hazelcast scheduled jobs (Quartz support?)

I know it's unfair with the terracotta guys, but has anyone tried to use Hazelcast in order to use scheduled jobs in a clustered environment? The simplest implementation I can image is the following architecture: A global Hazelcast lock for…
Rafael Sanches
  • 1,823
  • 21
  • 28
7
votes
1 answer

Why does Hazelcast expect multicast when I enabled tcp-ip?

I'm trying to set up a 2 machine Hazelcast cluster, and can't use multicasting. Here's my xml file I'm using for configuration:
Paul
  • 1,056
  • 11
  • 18
7
votes
1 answer

Vertx clustering alternative

Anyone with real-world experience of Vertx cluster managers other than Hazelcast have advice on our requirement below? For our (real time sensor data) system we have hundreds of verticles in multiple JVM's, but we do not need, or want, the eventbus…
Bambam
  • 3,729
  • 1
  • 16
  • 16
7
votes
1 answer

Spring Data JPA Meta JpaMetamodelMappingContext Memory Consumption

My Spring Data JPA/Hibernate Application consumes over 2GB of memory at start without a single user hitting it. I am using Hazelcast as the second level cache but I had the same issue when I used ehCache as well so that is probably not the cause of…
chrislhardin
  • 1,747
  • 1
  • 28
  • 44
7
votes
3 answers

How to disable default shutdown hook of Hazelcast in spring boot

I am developing web socket application using Hazelcast to share the status of the online users. Everything works fine except one thing that is when one of the application instance goes down or restarts, all user connected to that instance get…
Nisheeth Shah
  • 600
  • 1
  • 9
  • 22
7
votes
2 answers

Hazelcast threads prevent TomEE from stopping

Context We want to use Hazelcast as our JCache implementation inside TomEE. As we don't need insane performance, at the moment, we want to run the Hazelcast node as part of our application. We use Hazelcast 3.7 and TomEE 7.0.1. Problem When stopping…
Schroenser
  • 289
  • 1
  • 7
7
votes
1 answer

Hazelcast: Questions regarding multi-node consistency

(I could not find a good source explaining this, so if it is available elsewhere, you could just point me to it) Hazelcast replicates data across all nodes in clusters. So, if data is changed in one of the nodes, does the node update its own copy…
gammay
  • 5,957
  • 7
  • 32
  • 51
7
votes
2 answers

Hazelcast in multinode docker environments with TCPIP

I am currently struggling with the following problem: I have a Java EE application that shall be able to run in a cluster (it actually does). For the data exchange between the nodes I use Hazelcast 3.3.3. Since our customers are afraid of UDP we use…
magicroomy
  • 395
  • 1
  • 6
  • 19
7
votes
0 answers

how to display a (at least partial) list of keys in Hazelcast using REST

I know that it is possible to display the value of a key that is part of a Map that was stored in hazelcast using REST. Using curl this would be done this way: curl -v -X GET http://127.0.0.1:5701/hazelcast/rest/maps/myMap/nameOfKeyInMap But what…
Marged
  • 10,577
  • 10
  • 57
  • 99