Mark D. Roth
687580fe04
Add ResultHandler to Resolver API.
6 years ago
Yash Tibrewal
6b45cea2f0
Remove from poll-cv comments too
6 years ago
billfeng327
4241edeaa4
renamed tag to no_windows in conformation with Bazel and TensorFlow
6 years ago
Yash Tibrewal
abcd5861eb
Nuking the poll-cv polling engine
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
yang-g
a6596b2fd5
Fix fuzzer test
6 years ago
yang-g
94c38ee0a1
Add fuzzer test case
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
a04b0646de
Don't use a separate call context for subchannel calls.
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
Vu Cong Tuan
9c4de5a0ff
Fix typos in test code
...
Signed-off-by: Vu Cong Tuan <tuanvc@vn.fujitsu.com>
6 years ago
Nguyen Quang Huy
c9acd8380f
Fix some typos
...
Correct some words spelling for reading more easily.
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
Yang Gao
4bc2ca4de6
Revert "Move grpc_shutdown internals to a detached thread"
6 years ago
Mark D. Roth
e40177fad0
Make service config ref-counted and hold refs to it in LB config.
6 years ago
Mark D. Roth
624fb64f61
LB policy ctors no longer perform updates; UpdateLocked() must be called
...
after construction.
6 years ago
yang-g
cedc76bf38
Resolve comments
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
yang-g
3227abf717
fix percent en/decode fuzzers
6 years ago
yang-g
86b23adc7f
Other comments
6 years ago
xtao
7766912dda
fix more detected mu/cv leaks
6 years ago
xtao
902820a5de
1) fix the asan tests caught leaks;
...
2) fix the tsan tests caught data races;
6 years ago
jiangtaoli2016
f5a71f7313
Clean up deprecated tsi_create_ssl_server_handshaker_factory callers
6 years ago
yang-g
545c555d31
Rename new public API
6 years ago
yang-g
233406d450
generate projects
6 years ago
yang-g
684643ff0a
Test fixing php
6 years ago
Mark D. Roth
bab8123763
LB policy picker API
6 years ago
yang-g
520dc0461c
fix resolve_address_test
6 years ago
xichengliudui
d9b508c896
Fix various typos in .cc and .md and .py files
6 years ago
Arjun Roy
195a30bb8b
Grpc: Change grpc_handshake and grpc_handshake_mgr to use CPP implementations.
...
grpc_handshake is renamed to GrpcHandshake, using C++ class definitions
instead of C-style vtable classes. Update callers to use new interfaces.
We use RefCountedPtr to simplify reference tracking.
6 years ago
Yash Tibrewal
30d8f7a626
Memset before setting length
6 years ago
Yash Tibrewal
ff72f3eeff
Skip the test instead
6 years ago
Jan Tattermusch
486b1fe320
Fix bad_client_simple_request test.
...
The data of 0xffffffff is actually not illegal, the top bit should be
ingored according to the spec.
6 years ago
Yash Tibrewal
5a9eb31a3e
Clang format
6 years ago
Yash Tibrewal
bfd89bcec5
Don't run for poll and poll-cv
6 years ago
Yash Tibrewal
6b74b1350b
Experiment with timing values to make sure that tests pass
6 years ago
Yash Tibrewal
058ceccd71
Add test to check that reads reset the keepalive timer
6 years ago
Soheil Hassas Yeganeh
94564d1c22
Update the channelz compaction test to use 300 entries.
6 years ago
Nicolas Noble
9abc673def
Restore gsec* suppressions
...
These aren't from BoringSSL
6 years ago
Nicolas Noble
510fba2deb
Removing BoringSSL-specific ubsan suppressions.
...
Let's see if #17791 is really fixed.
6 years ago
Vijay Pai
b23abe832c
GPR_ARRAY_SIZE is meant for arrays
6 years ago
Prashant Jaikumar
6b19927bc4
Bad connection test
6 years ago
Yihua Zhang
09cd07cfa0
revision 1
6 years ago
Yihua Zhang
adfe2238ef
ignore duplicate root cert in cert list instead of fail.
6 years ago
Alexander Polcyn
139d9f6e94
Revert "Revert c-ares as the default resolvre"
...
This reverts commit ca30b2240f
.
6 years ago
Juanli Shen
4f3c1572e1
Revert "Revert "C++-ify subchannel""
6 years ago
Muxi Yan
8e085233ed
Fix CFStream test
6 years ago