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 Aug 1, 2021
1 parent 57b7171 commit c6c2042
Showing 1 changed file with 97 additions and 84 deletions.
Loading

0 comments on commit c6c2042

Please sign in to comment.