Hi @Zelldon
Hope you are doing good.
We finally migrated our zeebe to the latest 0.23.3
broker.
As a default case
First we ran a load with following configuration
- zeebe_gateway_threads 1
- cluster size 3
- replicas 3
- partitions 3
- 2 workers
taste
, guess
worker each with 8 threads
Request fired = 300371
Request Processed = 88451 (Camunda Operate)
Request dropped = 250600 (Grafana)
Observations
system was clear after 12 min once the request firing was stop. Earlier we used to wait for almost an hour. Yes, back pressure was more and dropped request are more but it is way to better than previous run
Second as suggested by you the following configuration are used
- 5 nodes and 16 partitions, 4 cpu thread count and 4 io thread count
- resources:
limits:
cpu: “5”
memory: 12Gi
requests:
cpu: “5”
memory: 12Gi
- 8v CPU and 32GB RAM all broker
After the configuration change client is unable to connect with the zeebe broker with following exception
io.grpc.StatusRuntimeException: DEADLINE_EXCEEDED: deadline exceeded after 59.999797437s. [remote_addr=someaddress/173.20.111.1:26500]
at io.grpc.Status.asRuntimeException(Status.java:533)
at io.grpc.stub.ClientCalls$StreamObserverToCallListenerAdapter.onClose(ClientCalls.java:449)
at io.grpc.internal.ClientCallImpl.closeObserver(ClientCallImpl.java:426)
at io.grpc.internal.ClientCallImpl.access$500(ClientCallImpl.java:66)
at io.grpc.internal.ClientCallImpl$1CloseInContext.runInContext(ClientCallImpl.java:416)
at io.grpc.internal.ContextRunnable.run(ContextRunnable.java:37)
We are not sure why are we facing this issue
The configuration which we are using on the client side is
contactPoint = ourbroker,
port = 26500,
plaintextEnabled = true,
workerName = "default-worker",
workerThreads = "8",
workerMaxJobsActive = "32",
jobTimeout = "300000", // 5 minutes
messageTimeToLive = "3600000", // 1 hour
requestTimeout = "20000", // 20 seconds
caCertificatePath = "", // Empty string to prevent NPE in Env.getOrElse
keepAlive = "45000" // 45 seconds
we are using
"io.zeebe.spring" % "spring-zeebe-starter" % zeebeVersion
Please provide us with some pointers @Zelldon
JFI
We wanted to know how much instance/sec can be created and how much a single worker can handle with 8 threads this will help us to know what all changes we can do according to our requirement.