Karthik Ravi Shankar
4e0923e802
Fix errors from clang_format_code.sh
6 years ago
yang-g
621840900f
Fully log test scenario
6 years ago
Bill Feng
1a09899d3e
reverted change on thread manager test
6 years ago
Soheil Hassas Yeganeh
1014fe507f
Use const ref for grpc_slice.
...
We are copying the slice on every call creation, which is hurting
ping/pong traffic.
6 years ago
Karthik Ravi Shankar
ecfc107f32
Make more changes to remove grpc qualifier from tests
6 years ago
Bill Feng
d93959853f
Enabled Windows Bazel build for cpp tests
6 years ago
Karthik Ravi Shankar
4260fe1147
More fixes
6 years ago
Karthik Ravi Shankar
9a41671cb1
Remove grpc:: from API to ensure general availability
6 years ago
Soheil Hassas Yeganeh
ad1b3e5094
Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing.
...
grpc_byte_buffer_reader_next() copies and references the slice. This
is not always necessary since the caller will not use the slice
after destroying the byte buffer.
A prominent example is the protobuf parser, which
calls grpc_byte_buffer_reader_next() and immediately unrefs the slice
after the call. This ref() and unref() calls can be very expensive
in the hot path.
This commit introduces grpc_byte_buffer_reader_peek() which
essentialy return a pointer to the slice in the buffer, i.e.,
no copies, and no refs.
QPS of 1MiB 1 Channel callback benchmark increases by 5%.
More importantly insructions per cycle is increased by 10%.
Also add tests and benchmarks for byte_buffer_reader_peek()
This commit reaplies 509e77a5a3
6 years ago
Karthik Ravi Shankar
04af168cf8
Move Server into grpc_impl from grpc
6 years ago
Karthik Ravi Shankar
54171e276f
Fold server credentials from grpc to grpc_impl namespace
6 years ago
Hope Casey-Allen
6ecf74f641
Increase timeout for test
6 years ago
Karthik Ravi Shankar
1d357572cf
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
...
This reverts commit d8d8bec7c8
.
6 years ago
Vijay Pai
7b3a120295
Address reviewer comments
6 years ago
Vijay Pai
f12f862d28
Strengthen test
6 years ago
Vijay Pai
0cb0cdb7e3
Address reviewer comments on test
6 years ago
Vijay Pai
93f0a3f653
Address reviewer comments
6 years ago
Mark D. Roth
233d3e27ff
grpclb fallback-at-startup improvements
6 years ago
Vijay Pai
04a6b8467c
Support callback on cancellation of server-side unary RPCs
6 years ago
Mark D. Roth
adc2163038
Go into fallback mode when losing contact with balancer and backends.
6 years ago
Karthik Ravi Shankar
2a8f3f79ab
Fix more namespace stuff
6 years ago
Karthik Ravi Shankar
0692dcc16a
Fix tests namespaces
6 years ago
Vijay Pai
48ce4ca939
Add support for extra-reaction operations via Holds
6 years ago
Karthik Ravi Shankar
5906b86119
Fix tests to use grpc namespace
6 years ago
Karthik Ravi Shankar
582ecc8fc4
Fix tests to use grpc namespace
6 years ago
Mark D. Roth
b0ad6ac3ae
Clean up grpclb and xds end2end tests.
6 years ago
Karthik Ravi Shankar
f570c5ce7e
Make changes for making opencensus API visible from gRPC namespace
6 years ago
Karthik Ravi Shankar
f66b654795
Revert "Revert "Fold opencensus into grpc_impl namespace""
6 years ago
Karthik Ravi Shankar
2bf934f97d
Revert "Fold opencensus into grpc_impl namespace"
6 years ago
Jan Tattermusch
cf6a311761
Revert "Windows builds for gRPC C++ tests"
6 years ago
Michael Behr
7f6ed9267f
Convert metadata flag keys to lowercase.
6 years ago
Karthik Ravi Shankar
d8d8bec7c8
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
Signed-off-by: Karthik Ravi Shankar <karthikrs@google.com>
6 years ago
Mark D. Roth
687580fe04
Add ResultHandler to Resolver API.
6 years ago
Karthik Ravi Shankar
82c6e012d8
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
6 years ago
Mark D. Roth
c9421eeb85
Fix state reported by pick_first when we receive a GOAWAY with a pending subchannel list.
6 years ago
Karthik Ravi Shankar
b3889585a1
Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
6 years ago
Yash Tibrewal
6b45cea2f0
Remove from poll-cv comments too
6 years ago
billfeng327
9e102ea8b0
excluded non-compatible test
6 years ago
billfeng327
4241edeaa4
renamed tag to no_windows in conformation with Bazel and TensorFlow
6 years ago
Mark D. Roth
827c77bd24
Use fallback before timeout if balancer channel reports TRANSIENT_FAILURE.
6 years ago
Vijay Pai
240bf86760
Add unimplemented RPC test
6 years ago
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%)
6 years ago
billfeng327
ab06853fc9
C++ Windows test builds
6 years ago
Mark D. Roth
d85e6f4e94
Make grpclb work when selected via service config with no balancer addresses.
6 years ago
Karthik Ravi Shankar
f7dd48b2b6
Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota
...
This change moves ResourceQuota class fron grpc namespace to grpc_impl
namespace.
6 years ago
Michael Behr
1603242add
Parse additional metadata flag manually instead of by regex
6 years ago
Mark D. Roth
6d75cfe426
Revert "Merge pull request #18254 from grpc/revert-18078-grpclb_child_policy_configurable"
...
This reverts commit 6dcf6d1645
, reversing
changes made to a2f1e924de
.
6 years ago
Juanli Shen
e889fda482
Use real resolver in xds lb channel
6 years ago
Mark D. Roth
9febbf2d92
Revert "Make grpclb child policy configurable"
6 years ago
Soheil Hassas Yeganeh
c060d55cc7
Revert "Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing."
6 years ago