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
Mark D. Roth
762676249e
Make grpclb child policy configurable.
6 years ago
Karthik Ravi Shankar
3b7a47cde6
Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder
...
This change moves ServerBuilder class from grpc namespace to grpc_impl
namespace.
6 years ago
Karthik Ravi Shankar
b606cad6cc
Fold opencensus into grpc_impl namespace
...
Moving opencensus into grpc_impl namespace..
6 years ago
Mark D. Roth
a04b0646de
Don't use a separate call context for subchannel calls.
6 years ago
Vijay Pai
397bdd6b7b
Fix a bug that was exposed but unrelated...
6 years ago
Prashant Jaikumar
ede3e61acb
Try to fix FlakyNetworkTest.ServerRestartKeepaliveDisabled flake
...
Set channel arg for max connect time.
6 years ago
Vijay Pai
05d8ddfc6e
Support callback-based generic service
6 years ago
Soheil Hassas Yeganeh
509e77a5a3
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()
6 years ago
Mark D. Roth
251d66aac6
Convert client channel factory to C++
6 years ago
Alex Polcyn
9644e588f6
Build c-ares bazel lib with alwayslink=1
6 years ago
Nicolas Noble
91ad888497
Revert "Revert "Folding the Channel class into the grpc_impl namespace.""
6 years ago
Michael Behr
0a53c2ed2e
Move new functions out of client_helper.cc
6 years ago
Michael Behr
473041e06b
Format code.
6 years ago
Prashant Jaikumar
7f37d1cb0e
Fix test flakes in flaky_network_test
...
- Set channel arg for maximum time between reconnection attempts.
- Don't check status of RPCs that can fail due to network flakiness.
6 years ago
Vu Cong Tuan
9c4de5a0ff
Fix typos in test code
...
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
6 years ago
Vijay Pai
29191d5eda
Need to properly init library for microbenchmarks
6 years ago
frazenshtein
8232d69820
Reverted changes in the test/cpp/naming/resolver_component_test.cc
6 years ago
frazenshtein
7d1e201539
Use grpc_wsa_socket_flags in the test/cpp/naming/resolver_component_test.cc
6 years ago
Vijay Pai
de29ab752e
Fix golden-file test
6 years ago
Vijay Pai
2a80f0edc7
Support use of ByteBuffer for request-side of code-gen unary
6 years ago
yang-g
5480dc5cd6
fix client_lb_e2e_test
6 years ago
yang-g
456f748b2f
Revert "Merge pull request #18146 from grpc/revert-17308-shutdown"
...
This reverts commit 9079e98dfc
, reversing
changes made to 76a38bfcc2
.
6 years ago
Michael Behr
60f060e078
Let interop_client send additional metadata, controlled by a flag.
6 years ago
frazenshtein
bc7203e371
Fixed style
6 years ago
Vijay Pai
8feb16171a
Add an expectation and fix a ServerContext bug
6 years ago
Vijay Pai
5f8fe7d5cc
Test for simultaneous Read and WritesDone
6 years ago
Vijay Pai
ac5f5c4fe2
Add ClientCancelsRequestStream test
6 years ago
Vijay Pai
05b98a4896
Also add streaming tests that cancel from client
6 years ago
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
Mark D. Roth
428fa7602c
Transition into state CONNECTING when we start name resolution.
6 years ago
Vijay Pai
7eb08ad72e
Add interceptors, secure credentials, and cancellation to client callback test
6 years ago
Prashant Jaikumar
e8efe06a42
Re-add cfstream_test
...
2nd attempt at adding cfstream_test after fixing internal build failures caused by first attempt.
6 years ago
frazenshtein
76e9d1add7
Set WSA_FLAG_NO_HANDLE_INHERIT flag wherever the WSASocket is used.
...
Check WSA_FLAG_NO_HANDLE_INHERIT is supported.
6 years ago
Prashant Jaikumar
98e0ff582a
Fix C++ bulid on Mac OS
6 years ago
Vijay Pai
cdab1c260f
Fix termination condition of streaming callback QPS tests
6 years ago
Vijay Pai
453c6331b6
Fix counters in streaming QPS benchmarks
6 years ago
Prashant Jaikumar
b31f402b46
Add flaky_network_test after fixing internal build failures.
...
Re-add flaky_network_test along with a couple of new testcases.
6 years ago
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
.
6 years ago
hcaseyal
275296c594
Revert "LB policy picker API"
6 years ago
Prashant Jaikumar
6177befe94
Re-add cfstream_test
...
2nd attempt at adding cfstream_test after fixing internal build failures caused by first attempt.
6 years ago