Mark D. Roth
d069bc7721
LB policy API cleanup
2019-03-14 12:19:09 -07:00
Soheil Hassas Yeganeh
0031393a17
Merge pull request #18240 from soheilhy/tcp-inq
...
Implement TCP_INQ for gRPC in Linux
2019-03-08 11:29:39 -05:00
Yash Tibrewal
abcd5861eb
Nuking the poll-cv polling engine
2019-03-07 14:49:24 -08:00
Soheil Hassas Yeganeh
18b19105f2
Implement TCP_INQ for gRPC in Linux
...
TCP_INQ is a socket option we added to Linux to report pending bytes
on the socket as a control message.
Using TCP_INQ we can accurately decide whether to continue read or not.
Add an urgent parameter, when we do not want to wait for EPOLLIN.
This commit improves the latency of 1 RPC unary (minimal benchmark)
significantly:
Before:
l_50: 61.3584984733
l_90: 94.8328711277
l_99: 126.211351174
l_999: 158.722406029
After:
l_50: 51.3546011488 (-16%)
l_90: 72.3420731581 (-23%)
l_99: 103.280218974 (-18%)
l_999: 130.905689996 (-17%)
2019-03-06 22:15:53 -05:00
Mark D. Roth
251d66aac6
Convert client channel factory to C++
2019-03-01 08:40:21 -08:00
yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc , reversing
changes made to 76a38bfcc2 .
2019-02-25 10:11:06 -08:00
Mark D. Roth
c9aebe3880
Merge pull request #18081 from markdroth/service_config_ref_counted
...
Make service config ref-counted and hold refs to it in LB config.
2019-02-25 07:32:12 -08:00
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
2019-02-22 16:34:24 -08:00
Mark D. Roth
e40177fad0
Make service config ref-counted and hold refs to it in LB config.
2019-02-22 16:33:50 -08:00
Mark D. Roth
5f00cfd3bd
Merge pull request #18096 from markdroth/lb_policy_api
...
Second attempt: LB policy picker API
2019-02-22 10:10:43 -08:00
Mark D. Roth
624fb64f61
LB policy ctors no longer perform updates; UpdateLocked() must be called
...
after construction.
2019-02-21 14:01:22 -08:00
yang-g
fe3555f0fd
Merge with head and resolve conflict
2019-02-19 20:46:51 -08:00
Mark D. Roth
aa149fedbb
Revert "Merge pull request #18093 from grpc/revert-17770-lb_policy_picker_api"
...
This reverts commit f327b83706 , reversing
changes made to b3b5d63423 .
2019-02-19 13:19:24 -08:00
hcaseyal
275296c594
Revert "LB policy picker API"
2019-02-19 11:05:52 -08:00
yang-g
0df63d3c98
Merge branch 'master' into shutdown
2019-02-15 21:51:03 -08:00
xtao
902820a5de
1) fix the asan tests caught leaks;
...
2) fix the tsan tests caught data races;
2019-02-16 00:00:50 +08:00
yang-g
545c555d31
Rename new public API
2019-02-14 14:22:40 -08:00
yang-g
684643ff0a
Test fixing php
2019-02-13 11:02:48 -08:00
Mark D. Roth
bab8123763
LB policy picker API
2019-02-13 08:30:04 -08:00
yang-g
bc946d6c6d
merge with head and resolve conflicts
2019-02-12 15:00:32 -08:00
Yash Tibrewal
ff72f3eeff
Skip the test instead
2019-02-07 14:57:58 -08:00
Nicolas Noble
9abc673def
Restore gsec* suppressions
...
These aren't from BoringSSL
2019-02-05 13:00:33 -08:00
Nicolas Noble
510fba2deb
Removing BoringSSL-specific ubsan suppressions.
...
Let's see if #17791 is really fixed.
2019-02-05 11:07:19 -08:00
Juanli Shen
4f3c1572e1
Revert "Revert "C++-ify subchannel""
2019-01-30 10:23:07 -08:00
Juanli Shen
bbfc024a02
Revert "C++-ify subchannel"
2019-01-29 15:23:55 -08:00
Juanli Shen
25dc2ffed6
C++-ify subchannel
2019-01-29 13:00:02 -08:00
Mark D. Roth
f99bd8c08a
Pass LB policy args as non-const and using std::move().
2019-01-23 08:47:46 -08:00
yang-g
ef32669915
Merge remote-tracking branch 'upstream/master' into shutdown
2019-01-18 16:01:14 -08:00
yang-g
1885964823
clang-format and wait in atexit handler
2019-01-15 15:58:48 -08:00
Mark D. Roth
d655509e3d
Fix sanity and build.
2019-01-10 10:52:29 -08:00
Mark D. Roth
d6e2b33670
Move InterceptRecvTrailingMetadataLoadBalancingPolicy to a separate file.
...
This fixes a link error when building with make.
2019-01-10 10:31:16 -08:00
Mark D. Roth
8cd7178afb
Add dtors in LB policy subclasses.
2019-01-10 09:26:44 -08:00
Mark D. Roth
40f22bfc94
move ForwardingLoadBalancingPolicy to its own library
2018-12-21 15:09:17 -08:00
yang-g
3c8d24ba2c
merge with head and resolve conflict
2018-12-19 10:13:41 -08:00
yang-g
038a71d826
Merge remote-tracking branch 'upstream/master' into gpr_test_util_to_grpc_test_util
2018-12-17 08:52:20 -08:00
Mark D. Roth
b15758ab37
Fix alignment in memory counters.
2018-12-12 12:25:11 -08:00
Mark D. Roth
c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis.""
2018-12-11 07:48:14 -08:00
hcaseyal
27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis."
2018-12-07 16:13:37 -08:00
yang-g
bd5d86935f
revert the sample
2018-12-07 14:05:48 -08:00
Mark D. Roth
dedff37b4f
Allow encoding arbitrary channel args on a per-address basis.
2018-12-07 12:41:51 -08:00
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
2018-12-06 14:37:52 -08:00
yang-g
e00ca0371a
Promote gpr_test_util to part of grpc_test_util, add a sample to show it works, build.yaml change first
2018-12-06 13:40:12 -08:00
yang-g
e1f573a58b
clang-format
2018-12-05 15:43:23 -08:00
yang-g
b4565f1b19
Wait for shutdown to finish in TestEnv
2018-12-05 15:01:37 -08:00
yang-g
991963efcc
Merge branch 'master' into shutdown
2018-12-05 14:53:06 -08:00
yang-g
19b3ca5689
Clang-format
2018-11-30 15:26:56 -08:00
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
2018-11-30 08:57:38 -08:00
yang-g
2a938b0006
Add a class to wrap grpc_test_init
2018-11-30 08:53:08 -08:00
yang-g
606be620d8
Fix tests
2018-11-29 16:13:34 -08:00
yang-g
864cea2081
clang-format
2018-11-29 11:18:35 -08:00