Skip to content

Commit

Permalink
Process messages from peers in parallel in PeerManager.
Browse files Browse the repository at this point in the history
This adds the required locking to process messages from different
peers simultaneously in `PeerManager`. Note that channel messages
are still processed under a global lock in `ChannelManager`, and
most work is still processed under a global lock in gossip message
handling, but parallelizing message deserialization and message
decryption is somewhat helpful.

Further, the next commit will somewhat parallelize the CPU-intensive
parts of gossip message handling.
  • Loading branch information
TheBlueMatt committed Sep 15, 2021
1 parent bb9df69 commit 26e8df2
Showing 1 changed file with 102 additions and 85 deletions.

0 comments on commit 26e8df2

Please sign in to comment.