hazelcast / hazelcast/hz-docs

Note on Backup Entry Processor usage

Aperta
#653 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Nessun dato sulla lingua
Stelle
11
Fork
112
Merge medio
20h 29m
PR unite (30g)
19

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.