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

Issue 4279057: code review 4279057: rpc: add buffering to the encode path. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 2 months ago by r
Modified:
14 years, 2 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

rpc: add buffering to the encode path. This reduces the number of writes by 2 (1 client, 1 server) on each round trip. A simple test shows 24% higher throughput.

Patch Set 1 #

Patch Set 2 : diff -r 34118d2bd7d3 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -16 lines) Patch
M src/pkg/rpc/client.go View 2 chunks +16 lines, -8 lines 0 comments Download
M src/pkg/rpc/server.go View 4 chunks +15 lines, -8 lines 0 comments Download

Messages

Total messages: 3
r
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years, 2 months ago (2011-03-15 03:24:57 UTC) #1
rsc
LGTM
14 years, 2 months ago (2011-03-15 15:10:22 UTC) #2
r
14 years, 2 months ago (2011-03-15 17:02:52 UTC) #3
*** Submitted as http://code.google.com/p/go/source/detail?r=7963f4b4428b ***

rpc: add buffering to the encode path.
This reduces the number of writes by 2 (1 client, 1 server) on each round trip.
A simple test shows 24% higher throughput.

R=rsc
CC=golang-dev
http://codereview.appspot.com/4279057
Sign in to reply to this message.

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