2491 Commits

Author SHA1 Message Date
a5e20f67d1 Merge pull request #676 from iamqizhao/master
Release the quota taken in streamsQuota when an rpc is timeout or canceled
2016-05-12 11:48:33 -07:00
c4adca718a Documentation: fix metadata.FromContext example
metadata.FromContext returns additional boolean value.
This fixes the example in metadata documentation.
2016-05-12 11:07:32 -07:00
31cbd9ae6f Use all cpu cores available on machine by default 2016-05-12 11:03:29 -07:00
0dc39fe27f Golint and histogram opts compare 2016-05-11 17:57:59 -07:00
423a9dea78 Change getStats to do reseting if required. 2016-05-11 17:20:16 -07:00
5cb0ac1fcc Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-11 17:09:07 -07:00
09176558b4 Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-11 15:50:31 -07:00
8d1806945e Release the quota taken in streamsQuota when an rpc is timeout or canceled. 2016-05-11 15:50:22 -07:00
54222d50cc Merge pull request #673 from iamqizhao/master
Change some compression related error code
2016-05-11 15:47:18 -07:00
9521f8ddae Change RWMutex to Mutex 2016-05-11 12:02:39 -07:00
e1243883d6 Merge histograms into one histogram in getStats 2016-05-11 11:51:36 -07:00
e0f9f26e85 remove the checking of empty string for recvCompress 2016-05-11 11:01:26 -07:00
b506f13d5b change the error code when the required decompressor is not installed 2016-05-11 10:46:23 -07:00
19ded23951 graceful close and test 2016-05-10 19:29:44 -07:00
113bf2f219 Change some compression related error code 2016-05-10 13:54:10 -07:00
64ed38ebed Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-06 16:30:45 -07:00
ab0be5212f Merge pull request #672 from iamqizhao/master
skip more go runtime goroutines in leak check.
2016-05-06 15:58:34 -07:00
44373898ac Merge branch 'master' of https://github.com/grpc/grpc-go 2016-05-06 15:47:17 -07:00
9c2d8546bf load balancer 2016-05-06 15:47:09 -07:00
af817236f6 skip more go runtime goroutines in leak check. 2016-05-06 15:20:15 -07:00
04f4ff6a1c Merge pull request #671 from iamqizhao/master
Fix a race of onRead couting
2016-05-06 14:29:59 -07:00
9ccc0dd988 Add histogram Merge function 2016-05-06 14:26:07 -07:00
4e30886378 Create a histogram for each goroutine 2016-05-06 14:19:32 -07:00
660a65ba7c Minor fixes
Move code around
2016-05-06 14:18:57 -07:00
dc1dd06ebe Fix a race of onRead couting 2016-05-06 12:01:14 -07:00
9604a2bb7d Revert "Fix onRead race"
This reverts commit 973c6ff04de19fa90e3ccb7029a591d6d782002f.
2016-05-06 11:57:52 -07:00
973c6ff04d Fix onRead race 2016-05-06 11:49:49 -07:00
43b6e14060 Add comments for exported fields 2016-05-05 10:48:20 -07:00
7bc11a0c29 Remove histogramValue 2016-05-04 18:09:24 -07:00
d846ac94b3 Simplify histogram 2016-05-04 17:54:34 -07:00
8eb8dd0298 Merge pull request #660 from menghanl/benchmark_client
Benchmark worker
2016-05-04 15:50:59 -07:00
a04636c236 Minor fixes.
Comments
Remove nanosecond, add elapse directly
2016-05-04 14:16:47 -07:00
ac8e82e9d0 Explicitly set default cpu number to 1 2016-05-04 11:55:36 -07:00
78994035bc Modify comments 2016-05-04 11:24:28 -07:00
a0ea2d2050 Fix comments and remove useless WaitGroup 2016-05-03 18:28:06 -07:00
d34f891713 Move closeConns to client shutdown() 2016-05-03 17:38:32 -07:00
8963fdb9cb Reconstruct startBenchmarkServer 2016-05-03 17:05:37 -07:00
47152e8076 Reconstruct startBenchmarkClient 2016-05-03 17:05:14 -07:00
14d95fc632 Small fixes in comments. 2016-05-03 12:03:06 -07:00
020c480810 Not returning error in StartServer(). 2016-05-03 11:29:00 -07:00
7f24e5e90e Merge pull request #661 from saicheems/typo
Fix typo
2016-05-03 10:54:26 -07:00
444ab5553f Fix comments 2016-05-02 14:51:41 -07:00
ad6a5173f8 Small fix in error desc 2016-05-02 10:58:43 -07:00
c1cfebc384 Address review comments 2016-05-02 10:55:12 -07:00
02bd4c80b5 Fix leak goroutine problem 2016-04-29 16:43:01 -07:00
e7801b635a Fix error in benchmark/server/main.go 2016-04-29 16:40:32 -07:00
67497aad6c Minor fixes 2016-04-29 16:40:23 -07:00
27ecb91efa Fix typo 2016-04-29 14:58:02 -07:00
0d31c857ae Merge stream init and rpc goroutine creation to the same loop, and
remove warming up.
2016-04-29 11:27:24 -07:00
ceacfbcbc1 Add selecting on stop chan to avoid goroutine leak 2016-04-29 10:58:11 -07:00