Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docs: Feedback for Durable Executor Service #317

Open
Jarikkomarik opened this issue Jun 20, 2023 · 1 comment
Open

Docs: Feedback for Durable Executor Service #317

Jarikkomarik opened this issue Jun 20, 2023 · 1 comment

Comments

@Jarikkomarik
Copy link

Hi, I have some feedback about this page

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.

@Serdaro
Copy link
Contributor

Serdaro commented Jun 21, 2023

Hello @Jarikkomarik , thanks a lot for the notice. I'd kindly suggest you to inform our engineers through https://slack.hazelcast.com/ for any workaround or alternative options in a quicker way. Then, accordingly, we can update the documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants