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

Improve ReliableProxy resend across a slow link, see #2849 #998

Merged
merged 1 commit into from
Jan 4, 2013

Conversation

patriknw
Copy link
Member

@patriknw patriknw commented Jan 4, 2013

  • The within margin was too small. On my machine the transition to Idle is done
    when 400 ms is remaining, which is too timing sensitive.
  • Improved the "resend across a slow link" test to actually trigger resending,
    which it didn't do before.

runOn(local) {
testConductor.throttle(local, remote, Direction.Send, rateMBit = 0.1).await
testConductor.throttle(local, remote, Direction.Send, rateMBit = 0.02).await
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps a small comment indicating the choice of this seemingly magic value?

Copy link
Member Author

Choose a reason for hiding this comment

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

um, it's derived from empirical studies :-)

Copy link
Member Author

Choose a reason for hiding this comment

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

added the comment

@rkuhn
Copy link
Contributor

rkuhn commented Jan 4, 2013

yes, LGTM

@akka-ci
Copy link

akka-ci commented Jan 4, 2013

Started jenkins job akka-pr-validator at https://jenkins.akka.io/job/akka-pr-validator/277/

@akka-ci
Copy link

akka-ci commented Jan 4, 2013

jenkins job akka-pr-validator: Success - https://jenkins.akka.io/job/akka-pr-validator/277/

@viktorklang
Copy link
Member

Merge?

* The within margin was too small. On my machine the transition to Idle is done
  when 400 ms is remaining, which is too timing sensitive.
* Improved the "resend across a slow link" test to actually trigger resending,
  which it didn't do before.
patriknw added a commit that referenced this pull request Jan 4, 2013
…k-patriknw

Improve ReliableProxy resend across a slow link, see #2849
@patriknw patriknw merged commit c7484fc into master Jan 4, 2013
@patriknw patriknw deleted the wip-2849-ReliableProxySpec-slow-link-patriknw branch January 4, 2013 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants