hazelcast / hazelcast/hz-docs

Note on Backup Entry Processor usage

Open
#653 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
11
Forks
112
Avg merge
20h 29m
Merged PRs (30d)
19

Description

EntryProcessor interface returns "this" instance as the default backup entry processor.
So, all the business logic of the primary entry processor ("this") is carried to the backup and causes unnecessary execution.

We can drop a note to the documentation and tell the users that they can just carry the computed value and update the backup entry. This way, they'll avoid running unnecessary business logic to reach to the same computed value.

Another important note on Offloadable Entry Processors;

Even though Offloadable EPs run on its own executor, its backup EPs run on partition threads.
We can mention this design too, which adds to the importance of the first point.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.