hazelcast / hazelcast/imdg-docs
Docs: Feedback for Durable Executor Service
- Dominant language
- JavaScript
- Stars
- 5
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
Hi, I have some feedback about [this page](https://github.com/hazelcast/imdg-docs/edit/v/3.12/docs/modules/computing/pages/durable-executor-service.adoc)
Found DurableExecutorService error prone in cases when application is submitting larger amount of Tasks.
Example:
Having singe member application with 10 partitions and DurableExecutorService capacity parameter is 3.
I expect DurableExecutorService to be able to store 30 Tasks (Capacity * Partitions).
But due to random partition selection nature of DurableExecutorServcieProxy.getTaskPartitionId() where some partitions being full while others are not, I end up having "RejectExecutionException: Capacity (n) is reached!" exception, causing the specific task to be discarded, even if the application has not reached its maximum storage capacity.
I propose to add some logic that will count with filled partitions when it is generating partition id for Tasks.
I Know about about PartitionAware option, but this in not letting me fill partitions evenly.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.