Soheil Hassas Yeganeh
3560473673
Merge pull request #18199 from soheilhy/slice-buffer
...
Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing.
6 years ago
Lidi Zheng
f28286b526
Merge pull request #18218 from lidizheng/simplify-batch
...
Simplify batch operations event interpretation
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
Yash Tibrewal
ebe2bbf974
Merge pull request #18225 from yashykt/serviceconfigvalidation
...
Update validation rules for service config
6 years ago
Lidi Zheng
a846006192
Merge pull request #18224 from lidizheng/grpc-h-cancel
...
Correct grpc_call_cancel and grpc_call_cancel_with_status comments
6 years ago
Mark D. Roth
5b2361cbab
Merge pull request #18208 from markdroth/grpclb_balancer_channel_no_connectivity_watch
...
Don't to try to watch connectivity state of grpclb balancer channel.
6 years ago
Mark D. Roth
be6f195823
Merge pull request #18215 from markdroth/xds_client_side_health_checking
...
Inhibit client-side health checking for backends from balancer in xds.
6 years ago
Soheil Hassas Yeganeh
dcc5728ddf
Initialize tcp->read_done_closure only once
...
We are initializing the closure every time in tcp_notify_on_read()
wasting cycles.
6 years ago
Soheil Hassas Yeganeh
324189c9dc
Merge pull request #18228 from soheilhy/slice-cref
...
Avoid copying grpc_slice as much as possible.
6 years ago
Soheil Hassas Yeganeh
059e104475
Use grpc_core::RefCount for ServerContext.
6 years ago
Soheil Hassas Yeganeh
8898f48277
Avoid copying grpc_slice as much as possible.
...
Passing grpc_slice by value and/or returning it can be very costly,
introducing many extra instructions to push the structure to the
stack and poping it.
This CL, wherever possible, changes grpc_slice to be passed by
value.
On a local benchmark, I obserse 4-7% improvements in latency and QPS.
There are still copies to the slice_ref vtable which @arjunroy
is fixing as part of his major effort to use grpc_core::RefCount
for slices and devirtualizing them.
6 years ago
Abhishek Kumar
280c0287a6
Merge pull request #18221 from markdroth/gpr_once_fix
...
Fix gpr_once initialization.
6 years ago
Yash Tibrewal
394afb3a0c
Update validation rules for service config
6 years ago
Richard Belleville
510beaaede
Add a CLI parser to the client
6 years ago
Richard Belleville
a6c33d3516
Dynamically allocate port
6 years ago
Lidi Zheng
e1f5ce30ea
Correct grpc_call_cancel and grpc_call_cancel_with_status comments
6 years ago
Mark D. Roth
8d9982c1f8
Fix gpr_once initialization.
6 years ago
Richard Belleville
f2c7ffc9fb
Add multiprocessed client
6 years ago
Mark D. Roth
ebd7e01c3b
Merge pull request #18041 from markdroth/c++_client_channel_factory
...
Convert client channel factory to C++
6 years ago
Richard Belleville
4a8a2e286e
Add basic multiprocessing-based server
6 years ago
Lidi Zheng
ef42aff699
Simplify batch operations event interpretation
6 years ago
Mark D. Roth
251d66aac6
Convert client channel factory to C++
6 years ago
Mark D. Roth
1c52c30991
Inhibit client-side health checking for backends from balancer in xds.
6 years ago
Jan Tattermusch
a4b8667de9
Merge pull request #18212 from Leakim1991/patch-1
...
Fixed dead csharp examples link
6 years ago
Jan Tattermusch
7c71783879
grpc-dotnet now support unimplemented handlers
6 years ago
Mikael Grimstad
30934aeb83
Fixed dead examples link
...
Case matched link with folder name (Helloworld example)
6 years ago
Richard Belleville
f3379d0182
Merge pull request #18209 from grpc/roll-forward-deadline-propagation
...
Revert "Merge pull request #18206 from grpc/revert-18182-enable-deadl…
6 years ago
Richard Belleville
1112d52f03
Revert "Merge pull request #18206 from grpc/revert-18182-enable-deadline-propagation"
...
This reverts commit 63ef07ebb5
, reversing
changes made to 046e3e4ab5
.
6 years ago
Mark D. Roth
9e811bef4d
Don't to try to watch connectivity state of balancer channel.
6 years ago
Vijay Pai
63ef07ebb5
Merge pull request #18206 from grpc/revert-18182-enable-deadline-propagation
...
Revert "Enable deadline propagation"
6 years ago
apolcyn
046e3e4ab5
Merge pull request #18201 from apolcyn/fix_thing
...
Build c-ares bazel lib with alwayslink=1
6 years ago
Vijay Pai
4f86edeb23
Revert "Enable deadline propagation"
6 years ago
Jan Tattermusch
506ff2e408
Merge pull request #18185 from jtattermusch/csharp_update_docfx
...
Generate C# docs also for Grpc.Core.Api (for v1.19.x)
6 years ago
Yash Tibrewal
7b63731b87
Merge pull request #18196 from yashykt/logging1
...
Print the peer string to make debugging easier
6 years ago
Alex Polcyn
2a4c8ad617
Backport c-ares bazel build fix
6 years ago
Alex Polcyn
9644e588f6
Build c-ares bazel lib with alwayslink=1
6 years ago
Nicolas Noble
0fc01a302f
Merge pull request #18171 from huynq0911/fix_duplicated_word
...
Fix some typos
6 years ago
Yang Gao
40241c5236
Merge pull request #18157 from yang-g/rollbackrollback
...
Roll-forward PR17308
6 years ago
Yash Tibrewal
80f1eb57af
Add peer string to ping sent log
6 years ago
Yash Tibrewal
030149df8f
Print the peer string, instead of the address of the peer string
6 years ago
Carl Mastrangelo
05bc269fa1
Merge pull request #18193 from carl-mastrangelo/blump
...
update to 1.19.0
6 years ago
Nicolas Noble
b3ebb0c978
Merge pull request #18183 from dankegel/issue18131-rpath-when-in-opt-on-linux
...
Fix shared library resolution when installed to e.g. /opt on Linux
6 years ago
Carl Mastrangelo
2af39ded22
update to 1.19.0
6 years ago
Richard Belleville
b558519d99
Merge pull request #18190 from grpc/new-pylint-errors
...
Fix new pylint errors
6 years ago
rmstar
b0b35b03a7
Merge pull request #18159 from rmstar/flakynetwork_fix
...
Fix test flake in flaky_network_test
6 years ago
Lidi Zheng
ee26faee27
Merge pull request #18133 from mehrdada/cleanup-c_creds
...
Remove unused ChannelCredentials.c_credentials
6 years ago
Richard Belleville
33be6cd732
Switch pattern for marking unused argument
6 years ago
Mark D. Roth
3be45a5682
Merge pull request #18176 from tzik/msvc_fix
...
Remove no-effect std::move() that causes MSVC warning
6 years ago
Richard Belleville
1c05218497
Fix new pylint errors.
6 years ago
Richard Belleville
73bca77b41
Merge pull request #18182 from grpc/enable-deadline-propagation
...
Enable deadline propagation
6 years ago