326d66361a
Merge pull request #633 from iamqizhao/master
...
Fix window update counting for the canceled streams
2016-04-12 13:44:11 -07:00
c1db6d8439
Add a sanity check on the data size
2016-04-12 11:57:10 -07:00
ccdc150c37
Fix window update counting for the canceled streams
2016-04-12 11:06:27 -07:00
d07d0562ff
Merge pull request #601 from stevvooe/backoff-strategy
...
backoff: allow configuration of backoff strategy
2016-04-11 10:32:33 -07:00
70f7fa1c19
Address code review comments
2016-04-08 12:17:37 -07:00
f7992fa659
Add metrics server to stress client and add metrics client
2016-04-08 12:15:01 -07:00
47b74a63a8
backoff: allow configuration of backoff strategy
...
The backoff function and parameters have been pulled up into an
interface `backoffStrategy`. The default parameters are now part of a
package variable `DefaultBackoffConfig`. The strategy is then plumbed
through `dialOptions`. As a result of this PR, the
maximum backoff delay can now be set using the `WithBackoffConfig` dial
option.
While the addition of strategy may seem premature, this allows one to
simply export `BackoffStrategy` and `WithBackoff` to allow arbirarily
configurable backoff strategies.
Signed-off-by: Stephen J Day <stephen.day@docker.com>
2016-04-07 20:17:57 -07:00
7834b974e5
Merge pull request #631 from iamqizhao/master
...
Temporarily disable handler-tls for TestHealthCheckOff due to #619
2016-04-07 17:23:45 -07:00
eae2b52e5d
Temporarily disable handler-tls for TestHealthCheckOff due to #619
2016-04-07 16:01:36 -07:00
ecd00d52ac
Merge pull request #630 from timburks/patch-1
...
Update grpc-auth-support.md
2016-04-06 14:04:19 -07:00
c3d43ed0f4
Update grpc-auth-support.md
2016-04-05 17:31:00 -07:00
3d07b4a547
Add stress test metrics proto
2016-04-05 14:29:53 -07:00
74b8b4c086
Add stress test client
2016-04-05 14:29:40 -07:00
e3d8dfd907
Merge pull request #626 from menghanl/interop_log
...
Move interop log from utils to client main
2016-04-04 18:43:02 -07:00
62a892fc16
Move interop log from utils to client main
2016-04-04 16:00:19 -07:00
3ba0629598
Merge pull request #624 from tianon/recieved
...
Fix minor "recieved" typo (should be "received")
2016-04-04 11:31:34 -07:00
940ec1b75c
Merge pull request #615 from tamird/marker-method
...
transport: replace isItem with a marker method
2016-04-04 11:31:14 -07:00
466b6e4052
Merge pull request #587 from tamird/perf
...
transport: allocate bigger slabs and reuse
2016-04-04 11:30:38 -07:00
036dca28a6
transport: replace isItem with a marker method
...
Also changes the receivers to pointers because:
- Implementing an interface using value receivers causes both pointers
and values to implement that interface; implementing an interface using
pointer receivers causes only pointers to implement the interface,
thereby providing better type safety.
- Wrapping any value other than an empty struct in an interface causes
the value to be heap-allocated; no additional allocations are therefore
caused by this change.
2016-04-02 21:39:09 -04:00
bbde7d8d28
Fix minor "recieved" typo (should be "received")
2016-04-02 10:34:26 -07:00
5aeebcd810
Merge pull request #605 from broady/contrib
...
Add instructions to CONTRIBUTING.md
2016-04-01 14:03:47 -07:00
ac6f0e3135
Merge pull request #623 from tamird/simplify-minor
...
minor cleanup: simplify looping
2016-04-01 13:52:20 -07:00
ea95bd6b4c
Merge pull request #621 from xiang90/doc
...
remove unnecessary comment on invoke/sendmsg
2016-04-01 13:50:40 -07:00
11ef22ebfb
make comment on invoke/sendmsg more clear
2016-04-01 10:47:25 -07:00
2a118f74a2
minor cleanup: simplify looping
2016-03-31 22:05:49 -04:00
68dadb4d00
Merge pull request #620 from iamqizhao/master
...
fix a test error msg
2016-03-31 09:36:46 -07:00
b0a5402a2a
fix a test error msg
2016-03-30 11:10:27 -07:00
33966f5391
Merge pull request #602 from menghanl/metadata_doc
...
Add metadata documentation
2016-03-29 14:16:34 -07:00
3187ce79ff
Merge pull request #617 from iamqizhao/master
...
Added the unmapped http2 error and fixed a related bug in RST_STREAM …
2016-03-29 13:58:50 -07:00
2f0d12ea11
Added the unmapped http2 error and fixed a related bug in RST_STREAM handling.
2016-03-29 11:07:22 -07:00
b60d4e72a1
Add metadata documentation
2016-03-29 11:00:44 -07:00
9e8752e7a2
transport: allocate bigger slabs and reuse
...
This provides a substantial speed improvement with large payloads.
Benchmarked using https://github.com/cockroachdb/rpc-bench :
```
name old time/op new time/op delta
GRPCServeHTTP_1K-4 178µs ± 2% 177µs ± 1% ~ (p=1.000 n=5+5)
GRPCServeHTTP_64K-4 1.30ms ± 3% 1.09ms ± 4% -16.82% (p=0.008 n=5+5)
name old speed new speed delta
GRPCServeHTTP_1K-4 11.5MB/s ± 2% 11.6MB/s ± 1% ~ (p=1.000 n=5+5)
GRPCServeHTTP_64K-4 100MB/s ± 2% 121MB/s ± 4% +20.26% (p=0.008 n=5+5)
name old alloc/op new alloc/op delta
GRPCServeHTTP_1K-4 88.5kB ± 0% 93.9kB ± 0% +6.16% (p=0.008 n=5+5)
GRPCServeHTTP_64K-4 801kB ± 0% 791kB ± 0% -1.16% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
GRPCServeHTTP_1K-4 162 ± 0% 156 ± 0% -3.70% (p=0.008 n=5+5)
GRPCServeHTTP_64K-4 645 ± 0% 284 ± 0% -55.96% (p=0.016 n=5+4)
```
2016-03-29 05:29:55 -04:00
d1f7152c46
Merge pull request #612 from peter-edge/makefile_updates
...
Update Makefile
2016-03-28 23:31:13 -07:00
877b524786
Merge pull request #588 from tamird/perf-less
...
transport: performance improvements
2016-03-28 23:30:09 -07:00
3c688e321a
Merge pull request #611 from iamqizhao/master
...
Bump the required Go version
2016-03-28 23:15:44 -07:00
8e8c6a1b40
Merge pull request #604 from broady/travis
...
travis: build against go1.5.3, go1.6
2016-03-28 23:15:11 -07:00
54ac7579a7
transport: skip the backlog if it's empty
...
This provides a modest reduction in allocation count.
Benchmarked using https://github.com/cockroachdb/rpc-bench :
```
name old time/op new time/op delta
GRPCServeHTTP_1K-4 181µs ± 3% 178µs ± 2% ~ (p=0.310 n=5+5)
GRPCServeHTTP_64K-4 1.31ms ± 4% 1.30ms ± 3% ~ (p=0.548 n=5+5)
name old speed new speed delta
GRPCServeHTTP_1K-4 11.3MB/s ± 3% 11.5MB/s ± 2% ~ (p=0.246 n=5+5)
GRPCServeHTTP_64K-4 100MB/s ± 4% 100MB/s ± 2% ~ (p=0.548 n=5+5)
name old alloc/op new alloc/op delta
GRPCServeHTTP_1K-4 88.5kB ± 0% 88.5kB ± 0% -0.09% (p=0.008 n=5+5)
GRPCServeHTTP_64K-4 801kB ± 0% 801kB ± 0% -0.05% (p=0.008 n=5+5)
name old allocs/op new allocs/op delta
GRPCServeHTTP_1K-4 167 ± 0% 162 ± 0% -2.99% (p=0.008 n=5+5)
GRPCServeHTTP_64K-4 672 ± 0% 645 ± 0% -4.08% (p=0.008 n=5+5)
```
2016-03-28 21:26:36 -04:00
58c3636a27
revise wording
2016-03-28 15:44:29 -07:00
785723ef9c
travis: build against go1.5.3, go1.6
2016-03-28 15:06:19 -07:00
bc6951eb0b
Update Makefile.
...
Signed-off-by: Peter Edge <peter.edge@gmail.com>
2016-03-29 00:05:04 +02:00
a6e9e042c5
Bump the required Go version
2016-03-28 15:02:37 -07:00
5309b8314a
Merge pull request #608 from menghanl/better_http2_header_newline_error
...
Use ErrorDetail() to provide better error msg for malformed HTTP2
2016-03-28 13:17:04 -07:00
71e3dbec56
Use ErrorDetail() to provide better error msg for malformed HTTP2
2016-03-28 11:34:29 -07:00
85c387ba1c
Add instructions to CONTRIBUTING.md
2016-03-24 13:55:06 -07:00
9e3a674ceb
Merge pull request #599 from iamqizhao/master
...
lowercase credential keys
2016-03-22 14:41:09 -07:00
e5f60381dd
lowercase credential keys
2016-03-22 11:33:19 -07:00
2dc70c28da
Merge pull request #596 from enisoc/errorf
...
Don't treat StatusDesc() as a format string.
2016-03-22 11:11:59 -07:00
896247136f
Merge pull request #598 from iamqizhao/master
...
Specialize http2.StreamError when the server reads frames
2016-03-22 11:07:08 -07:00
a31af4bde2
Add some comments to the new test.
2016-03-22 10:56:29 -07:00
a098b2c182
Specialize http2.StreamError when the server reads frames
2016-03-21 18:23:30 -07:00