Skip to content

Docs: Feedback for Durable Executor Service #317

Description

@Jarikkomarik

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions