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
Mark D. Roth
a04b0646de
Don't use a separate call context for subchannel calls.
6 years ago
Yash Tibrewal
30e1991bf9
Update context list test
6 years ago
yang-g
67742ef63f
Fix BUILD files. Manually edit bzl files
6 years ago
yang-g
e75fc243da
change tests to use the new class instead of grpc_test_init
6 years ago
Yash Tibrewal
77ba25ab72
s/int/uint32_t
6 years ago
Yash Tibrewal
9506d35674
Add a byte counter to chttp2_stream and use that for timestamps
6 years ago
Yash Tibrewal
c7e92f26eb
Reviewer comments
6 years ago
Yash Tibrewal
bab043e865
Cleanup
6 years ago
Guantao Liu
0c18293e55
Fix the test failure with callback-based polling.
7 years ago
Hope Casey-Allen
4cc1cd7baa
Add needed include
7 years ago
Hope Casey-Allen
327c514fe7
Some reorganizing to respond to code review comments
7 years ago
Hope Casey-Allen
5b27941372
Even cleaner implementation that does not modify the grpc_mdelem struct.
7 years ago
Hope Casey-Allen
fbe594beeb
Much cleaner approach that should address code review comments as well
7 years ago
Hope Casey-Allen
97cbec1c98
WIP. Setting md_index to 0 on grpc_linked_mdelem creation
7 years ago
Hope Casey-Allen
4181c8cd37
Zero out linked_mdelem when created in test
7 years ago
Yash Tibrewal
9c5bde5e4e
More commits
7 years ago
adelez
5bdd9a8cb9
Revert "Revert "Add suppressions to sanitizers for bazel builds""
7 years ago
Nicolas Noble
43557fee0b
Revert "Add suppressions to sanitizers for bazel builds"
7 years ago
Adele Zhou
4cd659505c
Add data param to grpc_cc_library
7 years ago
ncteisen
eb2aa9cb3b
Tighten the bar and refactor and offender:
7 years ago
Juanli Shen
3c3f3ad75a
Decrease GRPC_CHTTP2_HPACKC_NUM_VALUES
7 years ago
Sree Kuchibhotla
1dd12c084a
Fix some more formatting issues
7 years ago
Yash Tibrewal
c0cd82faed
Remove unnecessary includes of exec_ctx.h
7 years ago
Mark D. Roth
3d8b32d8b3
Convert byte_stream API to C++.
7 years ago
Mark D. Roth
718c8341ca
Retry support.
7 years ago
Muxi Yan
6c9a87c174
Polish infer_length_after_decode and add test cases
7 years ago
Noah Eisen
4d20a66685
Run clang fmt
7 years ago
Noah Eisen
be82e64b3d
Autofix c casts to c++ casts
7 years ago
Vijay Pai
d4d0a30c6f
Privatize useful.h and avl.h
7 years ago
Jan Tattermusch
8376749faa
fix EventState::done() data race
7 years ago
Mark D. Roth
dbdf495f61
Split lib/support into lib/gpr and lib/gpr++.
7 years ago
Vijay Pai
9423c274cd
Need to include functional to use std::bind
7 years ago
Muxi Yan
38fcd0c6c3
clang-format
7 years ago
Yash Tibrewal
8cf1470a51
Revert "Revert "All instances of exec_ctx being passed around in src/core removed""
7 years ago
Yash Tibrewal
ad4d2dde00
Revert "All instances of exec_ctx being passed around in src/core removed"
7 years ago
Mark D. Roth
e204e5e497
Apply #13336 to v1.8.x branch.
7 years ago
Yash Tibrewal
c354269ba7
Remove _ prefixed variable names
7 years ago
Mark D. Roth
ca014e4d5e
Clean up semantics of test code.
7 years ago
Yash Tibrewal
81fc8c9c33
Fix tests to call grpc_init and grpc_shutdown before using exec_ctx
7 years ago
ncteisen
fe354eb807
Fix the fuzzers
7 years ago
Mark D. Roth
39dd9aa439
Fix BUILD file.
7 years ago
Mark D. Roth
d0f56a9997
Fix sanity problem.
7 years ago
Mark D. Roth
aaad0c2e5a
clang-format
7 years ago
Yash Tibrewal
a13a8c0f3e
A few src/core fixes due to missing exec_ctx_finish
7 years ago
Mark D. Roth
b9f34acfe5
Add test for handshake timeout.
7 years ago
ncteisen
6dc1097c5e
Fix test cert build
7 years ago
ncteisen
aa3b19741f
Rename tracer_peer to tracer_util
7 years ago
ncteisen
0e6b5b3ba3
Un extern the fuzzers
7 years ago
ncteisen
c4dd9cfe18
reviewer feedback
7 years ago