Skip to content

Decouple chunk endorsement processing from client actor thread #13190

Open
@Trisfald

Description

@Trisfald

Description

Objective

Allow the chain to perform chunk validation (endorsement production, validation and reception) faster and with higher priority over other, less important, tasks.

Expected outcome

  • Chunk endorsements are processed in parallel with other client actor tasks. In the same way as transactions as processed after the introduction of their own actix handle.
  • Chunk endorsements are delivered faster and we observe less chunk misses under high load.

Motivation

During performance tests it has been observed that under high load chunks can't be endorsed in time. This might be correlated a bottleneck in the single thread client actor. Hardware usage and network IO are never saturated, so it should be investigated whether chunk endorsements and other client actor tasks can be parallelized better.

This is also a way to achieve 'priority endorsement processing' which was discussed previously with Contract Runtime.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions