Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate _poller in NetMQTransport #859

Merged
merged 1 commit into from
May 4, 2020

Conversation

longfin
Copy link
Member

@longfin longfin commented Apr 29, 2020

This PR divides _poller by _routerPoller and _broadcastPoller to avoid unexpected blocking and improve throughput.

@longfin longfin added the network Related to networking (Libplanet.Net) label Apr 29, 2020
@longfin longfin self-assigned this Apr 29, 2020
@longfin longfin force-pushed the feature/858 branch 2 times, most recently from 88ae677 to cbb0c2c Compare April 29, 2020 14:49
@codecov
Copy link

codecov bot commented Apr 29, 2020

Codecov Report

Merging #859 into master will decrease coverage by 0.01%.
The diff coverage is 82.35%.

@@            Coverage Diff             @@
##           master     #859      +/-   ##
==========================================
- Coverage   87.50%   87.48%   -0.02%     
==========================================
  Files         249      249              
  Lines       22638    22651      +13     
==========================================
+ Hits        19810    19817       +7     
- Misses       1482     1488       +6     
  Partials     1346     1346              
Impacted Files Coverage Δ
Libplanet/Net/NetMQTransport.cs 83.53% <82.35%> (-0.66%) ⬇️
Libplanet/Net/Protocols/KademliaProtocol.cs 64.63% <0.00%> (-0.39%) ⬇️
Libplanet/FixedSizedQueue.cs 100.00% <0.00%> (+18.75%) ⬆️

@longfin longfin marked this pull request as ready for review April 30, 2020 09:24
@longfin longfin changed the title [WIP] Separate _poller in NetMQTransport Separate _poller in NetMQTransport Apr 30, 2020
earlbread
earlbread previously approved these changes May 4, 2020
moreal
moreal previously approved these changes May 4, 2020
Libplanet/Net/NetMQTransport.cs Outdated Show resolved Hide resolved
CHANGES.md Outdated Show resolved Hide resolved
@longfin longfin merged commit 69e11c9 into planetarium:master May 4, 2020
@longfin longfin linked an issue May 12, 2020 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
network Related to networking (Libplanet.Net)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Separate NetMQPoller in NetMQTransport
4 participants