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

duplex mode with ratio #1

Open
untoreh opened this issue Oct 17, 2017 · 5 comments
Open

duplex mode with ratio #1

untoreh opened this issue Oct 17, 2017 · 5 comments

Comments

@untoreh
Copy link
Owner

untoreh commented Oct 17, 2017

  • deprecate lassos
  • use flings for inbound data
  • the fling server should manage this
  • cli should offer option for both tx/rx payloads sizes
@untoreh
Copy link
Owner Author

untoreh commented Oct 21, 2017

since no data is transferred before the connection close, the ends don't know when each one has finished writing.
So some time sync with timeouts should take place to reduce overhead of eventual reflings

@untoreh
Copy link
Owner Author

untoreh commented Oct 30, 2017

Because data is not sent until the connection is closed, this must use TCPConn instead of Conn to use ReadClose and WriteClose directly.

@untoreh
Copy link
Owner Author

untoreh commented Nov 20, 2017

duplex mode is configurable so that can be enable on both fling and lassoes or only one of them or none at all.
no duplex seems to help push more bandwith

@untoreh
Copy link
Owner Author

untoreh commented Nov 21, 2017

duplex makes only sense for flings because when a fling is handled it is sure the read follows so that something can be wrote back, while lassoes normally wait to be written so can't be trusted to be read right away

@untoreh
Copy link
Owner Author

untoreh commented Nov 25, 2017

add information about queue of waiting incoming shots from remote to allow client to dial more conns when needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant