Soheil Hassas Yeganeh
eb40dafe41
Cache the default mdelem for client authority.
...
We create a mdelem based on the default authority value
for every call in `authority_start_transport_stream_op_batch()`.
Since the key and value are identical for all calls on channels of
a given process, they all map to the same shard of interned mdelem,
creating a signficant contention on the mutex of that shard.
This is observable in the profiles we have 1000s of connections
between two hosts, exchanging a high rate of RPCs.
Instead create the default mdelem and cache it in channel_data.
Simply ref this mdelem in `authority_start_transport_stream_op_batch()`.
This commit eliminates a signficant contention (2s in a 30s
profile) on client side.
6 years ago
Yash Tibrewal
789870a00b
Reviewer comments
6 years ago
Muxi Yan
e8eac7c107
Merge remote-tracking branch 'upstream/master' into fix-authorizer
6 years ago
Alexander Polcyn
2b328ee0ca
Re-enable c-ares as the default resolver; but keep SRV queries off by default
6 years ago
sanjaypujare
3278bdceda
Merge pull request #17768 from sanjaypujare/sanjay_interop_change
...
update interop client matrix to add 1.18 for core langs
6 years ago
Yash Tibrewal
944b3114fe
Protect info member with GRPC_LINUX_ERRQUEUE guards
6 years ago
Vijay Pai
86953f6694
Merge pull request #17764 from vjpai/executor_cleanup
...
Make executor look more like the rest of the codebase (namespace, etc)
6 years ago
Muxi Yan
c3e1c72194
Merge branch 'master' into feature/supportTVOS
6 years ago
Muxi Yan
371d4cd519
Update pod versions
6 years ago
Sanjay Pujare
dba6fdce91
update interop client matrix to add 1.18 for core langs
6 years ago
Yash Tibrewal
dc85d5b556
Allocate tcp_info on the heap to avoid stack frame limits
6 years ago
Yash Tibrewal
222e93a2bc
/s/Bps/Bytes\/s
6 years ago
Yash Tibrewal
9df6023dca
Move Optional to gprpp, and reviewer comments
6 years ago
Muxi Yan
f6924ff2d1
fix newline EOF
6 years ago
Vijay Pai
44402ad0a1
Make executor look more like the rest of the codebase (namespace, etc)
6 years ago
yang-g
f29c56bff5
Update templates too
6 years ago
Jan Tattermusch
d748d9c01d
Refactor ContextPropagationToken
6 years ago
yang-g
0d22c2ff48
Add comment to keep Dockerfile up to date against oss-fuzz
6 years ago
Yash Tibrewal
e4f1bb165e
Merge pull request #17689 from yashykt/bidiinterceptionexample
...
Add a caching interceptor to the keyvaluestore example
6 years ago
Lidi Zheng
0aa05958c2
Merge pull request #17543 from lidizheng/remove-foundation-dep
...
Remove dependency of grpc.framework.foundation.callable_util
6 years ago
Muxi Yan
034bfe7552
generate_projects
6 years ago
Yang Gao
4fd0959e29
Merge pull request #17753 from l8huang/master
...
grpc: init compression_algorithm_ in ClientContext ctor
6 years ago
Jan Tattermusch
57f46b9081
Merge pull request #17746 from jtattermusch/cleanup_commenting_on_pr
...
cleanup: Commenting on PRs is no longer used
6 years ago
Jan Tattermusch
a548241a6f
Merge pull request #17733 from jtattermusch/server_call_context_refactor
...
Make C# ServerCallContext implementation agnostic
6 years ago
Jan Tattermusch
d67009124f
commenting on PRs is no longer used
6 years ago
Jan Tattermusch
bf48d410a7
change suffix for protected ServerCallContext members to *Core
6 years ago
Jan Tattermusch
8133526fcf
Merge pull request #17750 from apolcyn/exp_fix_ruby
...
Experiment, attempt to fix brew update
6 years ago
Yash Tibrewal
862faf55ba
Use getsockopt to get the tcp_info struct with sendmsg timestamp
6 years ago
apolcyn
92ca78338c
Merge pull request #17742 from apolcyn/alternative
...
Get the ruby interop client buildable at the 1.18.0 tag
6 years ago
Yash Tibrewal
1ec65a2c9b
Fix tests
6 years ago
Yash Tibrewal
cbb157a0de
Add metric for spurious retries
6 years ago
Yash Tibrewal
96d30f4684
Merge branch 'master' into bidiinterceptionexample
6 years ago
Yash Tibrewal
6753be0cf9
Add definition for SCM_TIMESTAMPING_OPT_STATS in case it is not defined
6 years ago
Yash Tibrewal
23061cdfc2
Collect OPT_STATS along with tx timestamps
6 years ago
Richard Belleville
140e518cfe
Avoid broken symlinks when yapfing code
6 years ago
Alexander Polcyn
5fc904a5e5
Attempt to fix brew-update/rvm installation issue on mac
6 years ago
Maxim Bunkov
22fb5ce2fb
Change back to script
6 years ago
Lei Huang
3bd12ee2a8
grpc: init compression_algorithm_ in ClientContext ctor
...
`compression_algorithm_` could be a random value because not
initialized in ctor.
6 years ago
Richard Belleville
8609f42e15
Stop copying LICENSE files
6 years ago
Alex Polcyn
189313d1dd
Get the ruby interop client buildable for 1.18.0 back compatiblity matrix
6 years ago
Muxi Yan
e5453b1864
Fix authorizer bug
6 years ago
Muxi Yan
d9beacbfd9
generate projects
6 years ago
Muxi Yan
a5d9c353bf
fix indent in template
6 years ago
Mark D. Roth
10fa278660
Merge pull request #17577 from markdroth/lb_trailing_metadata
...
Allow LB policies to intercept recv_trailing_metadata
6 years ago
Yash Tibrewal
dde966f8c6
Reviewer comments
6 years ago
Noah Eisen
52e0153189
Merge pull request #17738 from ncteisen/channelz-lock
...
Remove Unneeded Lock
6 years ago
hcaseyal
6e94e02ef1
Merge pull request #17718 from bbarenblat/master
...
Correct a format string
6 years ago
ncteisen
79b9707db4
reviewer feedback
6 years ago
Muxi Yan
c817857eb9
Merge pull request #17736 from muxi/clean-debug-msg
...
Clean up debug messages
6 years ago
ncteisen
e3f1f3c856
Atomically store uuid of lb channel
6 years ago