Skip to content

Implement fairness mechanism to prevent high-priority frame starvation in ConnectionActor #132

@coderabbitai

Description

@coderabbitai

Currently, high-priority frames can starve low-priority ones under constant load due to the biased select! loop. Consider implementing a configurable fairness mechanism or occasional yield to the low-priority branch to ensure balanced processing.

Context:
This improvement was identified during review of the ConnectionActor implementation.

Reference:

Requested by: @leynos

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions