Hazelcast client threads

809 Views Asked by At

I am using java client to connect to a hazelcast cluster. Everytime I connect to a cluster, I observe that about 5 client-thread(s) are created on member's jvm. These threads hang around for about 30-40 seconds before they are destroyed. What are these these threads ? How can I control the number of client-thread(s) created ?

I am using hazelcast-all.3.3.3

1

There are 1 best solutions below

3
On

I had a peek and I see a few client threadsenter image description here

But these threads are 'permanent'. They can be configured using the ClientProperties. In this case the 'event threads' are the the largest number of threads and can be controlled with the PROP_EVENT_THREAD_COUNT field.

This is based on Hazelcast 3.5 btw. I have not checked for 3.3.3.

What are the threads you are seeing shortly; do you know their names? This makes it a bit easier to figure out what kind of threads they are. And why is it an issue?