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

Make c.sendRequest concurrent #40

Merged
merged 3 commits into from
May 24, 2015
Merged

Conversation

davecheney
Copy link
Member

This is an attempt to permit overlapping requests.

Update #32
Update #24

For each request sent, we spin off a goroutine to send the request for us
then handle a response. That goroutine will try to dispatch the request
to the original sender. As every request is initiated from the client, there
will always be a matching number of replies from the server so eventally
every worker goroutine will process a request and exit.

This is an attempt to permit overlapping requests.

For each request sent, we spin off a goroutine to send the request for us
then handle _a_ response. That goroutine will try to dispatch the request
to the original sender. As every request is initiated from the client, there
will always be a matching number of replies from the server so eventally
every worker goroutine will process a request and exit.
davecheney added a commit that referenced this pull request May 24, 2015
@davecheney davecheney merged commit db7130e into master May 24, 2015
@davecheney davecheney deleted the make-send-request-concurrent branch May 24, 2015 04:57
@davecheney davecheney mentioned this pull request May 24, 2015
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.

1 participant