Skip to content
New issue

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

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

Already on GitHub? # to your account

Subscriber backlog tool #650

Merged
merged 1 commit into from
Mar 28, 2019
Merged

Subscriber backlog tool #650

merged 1 commit into from
Mar 28, 2019

Conversation

QIvan
Copy link
Contributor

@QIvan QIvan commented Mar 27, 2019

Regard to discussion in #482 I wrote my understanding how streamStats work down to the code.
Output of this tool looks like:

sessionId=508185878 streamId=10 channel=aeron:udp?endpoint=localhost:40123 : 
┌─for publisher 5 the last known position is 60069504 (~8416768 bytes before a back-pressure)
└─sender 5 is up to position 60097856 (103872 bytes the sender may send up to ASAP.)
┌─receiver 7 is up to position 60097664
└─subscriber 2 has 0 bytes in backlog

sessionId=508185877 streamId=10 channel=aeron:udp?endpoint=localhost:40124 : 
┌─for publisher 4 the last known position is 60069568 (~8416704 bytes before a back-pressure)
└─sender 4 is up to position 60097856 (101888 bytes the sender may send up to ASAP.)
┌─receiver 6 is up to position 60097664
└─subscriber 3 has 0 bytes in backlog

@mjpt777 mjpt777 merged commit 4d43baf into real-logic:master Mar 28, 2019
mjpt777 added a commit that referenced this pull request Mar 28, 2019
mjpt777 added a commit that referenced this pull request Mar 28, 2019
@mjpt777
Copy link
Contributor

mjpt777 commented Mar 28, 2019

Thanks @QIvan this is nice work.

@QIvan
Copy link
Contributor Author

QIvan commented Mar 28, 2019

wow! Seems like today is my personal holyday ;-)
Thank you very much!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants