Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Decode devp2p packets off the event thread #1439

Merged
merged 4 commits into from
May 13, 2019

Conversation

ajsutton
Copy link
Contributor

PR description

Move decoding of devp2p packets off the Vertx event thread. The decoding process requires recovering the address of the signer which is expensive and can contribute to the event queue backing up.

We've previously moved encoding of packets off the event thread for the same reason.

@AbdelStark AbdelStark added the performance Related to performance label May 13, 2019
@AbdelStark AbdelStark self-assigned this May 13, 2019
Copy link
Contributor

@AbdelStark AbdelStark left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ajsutton ajsutton merged commit 22ea4d9 into PegaSysEng:master May 13, 2019
@ajsutton ajsutton deleted the decode-off-event-thread branch May 13, 2019 20:17
notlesh pushed a commit to notlesh/pantheon that referenced this pull request May 14, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
performance Related to performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants