Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(89)

Issue 7307090: rpc: allow concurrent calls

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 2 months ago by rog
Modified:
11 years, 2 months ago
Reviewers:
mp+147667, fwereade
Visibility:
Public.

Description

rpc: allow concurrent calls The client side comes substantially from the net/rpc package (no point in reinventing the same wheel); the server side is a little simpler, I hope. https://code.launchpad.net/~rogpeppe/juju-core/211-rpc-concurrent-calls/+merge/147667 Requires: https://code.launchpad.net/~rogpeppe/juju-core/176-rpc-spike/+merge/138089 (do not edit description out of merge proposal)

Patch Set 1 #

Patch Set 2 : rpc: allow concurrent calls #

Patch Set 3 : rpc: allow concurrent calls #

Total comments: 5

Patch Set 4 : rpc: allow concurrent calls #

Unified diffs Side-by-side diffs Delta from patch set Stats (+535 lines, -214 lines) Patch
A [revision details] View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M rpc/client.go View 1 2 1 chunk +209 lines, -41 lines 0 comments Download
M rpc/rpc_test.go View 1 2 3 5 chunks +246 lines, -112 lines 0 comments Download
M rpc/server.go View 7 chunks +65 lines, -55 lines 0 comments Download
M state/api/api_test.go View 1 2 3 3 chunks +4 lines, -1 line 0 comments Download
M state/api/apiclient.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M state/api/client.go View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M state/api/server.go View 1 2 3 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4
rog
Please take a look.
11 years, 2 months ago (2013-02-11 14:16:52 UTC) #1
rog
Please take a look.
11 years, 2 months ago (2013-02-12 11:04:04 UTC) #2
fwereade
LGTM, trivials only https://codereview.appspot.com/7307090/diff/3001/rpc/rpc_test.go File rpc/rpc_test.go (right): https://codereview.appspot.com/7307090/diff/3001/rpc/rpc_test.go#newcode163 rpc/rpc_test.go:163: err := <-srvDone sorry, missed this ...
11 years, 2 months ago (2013-02-12 14:08:08 UTC) #3
rog
11 years, 2 months ago (2013-02-12 17:46:32 UTC) #4
*** Submitted:

rpc: allow concurrent calls

The client side comes substantially from
the net/rpc package (no point in reinventing
the same wheel); the server side is a little
simpler, I hope.

R=fwereade
CC=
https://codereview.appspot.com/7307090
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b