Esun Kim
1518ecbd76
Added new configuration system to core/grp.
...
More generic configuration system is introduced in order to i) unify the
way how modules access the configurations instead of using low-level
get/setenv functions and ii) enable the customization for where configuration
is stored. This could be extended to support flag, file, etc.
Default configuration system uses environment variables as before so
basically this is expected to work just as it did. This behavior can
change by redefining GPR_GLOBAL_CONFIG_DEFINE_*type* macros.
* Migrated configuration
GRPC_CLIENT_CHANNEL_BACKUP_POLL_INTERVAL_MS
GRPC_EXPERIMENTAL_DISABLE_FLOW_CONTROL
GRPC_ABORT_ON_LEAKS
GRPC_NOT_USE_SYSTEM_SSL_ROOTS
6 years ago
Soheil Hassas Yeganeh
5538bb8143
Use compress and decompress slice_buffers only when they are needed.
...
Compression is not used for performance senstiive RPCs, yet
chttp2 always moves buffers in/out of the compressed/decmpressed
buffers. Even initilizing them is costly.
Use the (de)compression buffer and state only when we are using
non-identity compression.
This is part of a larger performance change, and this one buys us 1%-2%
depending on the benchmark.
6 years ago
Soheil Hassas Yeganeh
fd5f787080
Introduce slice_buffer helper methods to avoid copies.
...
take_first(), grpc_undo_first(), ... are very clostly
methods that unnecessarily copy grpc_slice with extra
ref counting requirements.
Introduce alternatives to avoid copies and refs wherever
possible.
This results in 1% improvements in the benchmarks.
6 years ago
John Luo
d74f04680f
Restrict workaround to MSBuild 15.0 and above
6 years ago
Karthik Ravi Shankar
e3a0c85960
Merge branch 'master' into grpc_namespace_channel_new
6 years ago
Na-Na Pang
b028141f01
Change streaming ping pong args and add comment
6 years ago
hcaseyal
e3c80dc35f
Merge pull request #18870 from hcaseyal/callback_stub_doc
...
Add clarification to callback API documentation
6 years ago
Soheil Hassas Yeganeh
01d58cde23
Merge pull request #18921 from soheilhy/tcp-closure-init
...
Initialize TCP write and error closures only once.
6 years ago
Muxi Yan
7e8dec516b
Unify deployment target
6 years ago
Arjun Roy
046e28f77c
Merge pull request #18918 from arjunroy/md_interned_leak_fix
...
Fix regression where we do not properly account for freed interned metadata.
6 years ago
yang-g
ac3a91edf8
Support accepting external connections.
6 years ago
Karthik Ravi Shankar
7bf82de9ed
Merge pull request #18444 from grpc/grpc_namespace_credentials
...
Changes to fold credentials into grpc_impl from grpc
6 years ago
Arjun Roy
22c6e166c4
Use platform align_malloc function when setting custom allocators and no override provided
6 years ago
Arjun Roy
dc148b6a30
Fix regression where we do not properly account for freed interned metadata.
6 years ago
Lidi Zheng
058e90ef16
Tiny fix for combiner comment
6 years ago
Jan Tattermusch
2cb63d859d
split multilang jobs by language
6 years ago
Karthik Ravi Shankar
6b0806eae3
more formatting changes
6 years ago
Soheil Hassas Yeganeh
714a13c193
Initialize TCP write and error closures only once.
...
We are initializing the closures in the hot path on every event.
6 years ago
Richard Belleville
930cec4e27
Revert "Merge pull request #18912 from grpc/revert-bazel-changes"
...
This reverts commit c9a259aa3a
, reversing
changes made to 9c882bc725
.
6 years ago
Muxi Yan
99533ab52b
Reorganize ObjC tests
6 years ago
Karthik Ravi Shankar
5a132b8245
Merge branch 'master' into grpc_namespace_credentials
6 years ago
Karthik Ravi Shankar
bc09c70799
Merge pull request #18454 from grpc/grpc_namespace_channel_arguments
...
Bring ChannelArguments to grpc_impl from grpc
6 years ago
=
f52a743e34
Missed using
6 years ago
John Luo
9073d6d5b5
Migrate interceptor types for server-side interceptors
6 years ago
Richard Belleville
c9a259aa3a
Merge pull request #18912 from grpc/revert-bazel-changes
...
Revert "Merge pull request #18859 from grpc/internal_py_proto_library"
6 years ago
Richard Belleville
50b5240d0a
Revert "Merge pull request #18859 from grpc/internal_py_proto_library"
...
This reverts commit 5b720f19c1
, reversing
changes made to a64ae3c0d5
.
6 years ago
Guantao Liu
aafa4c48e5
Fix another call of Alarm::experimental()::Set.
6 years ago
Arjun Roy
e1a96b8347
Fixed non-debug build warning
6 years ago
Arjun Roy
a3fe7c0c90
Renamed macros for memory alignment
6 years ago
Arjun Roy
333ba8feae
Use aligned_alloc directly for grpc_core::Arena
6 years ago
Arjun Roy
9c882bc725
Merge pull request #18894 from arjunroy/arena_create_alloc_coalesce
...
Coalesce arena create/first alloc for grpc_call.
6 years ago
Guantao Liu
3b5c470bf1
Clang format.
6 years ago
Guantao Liu
a7a380c69b
Delay the creation of Alarm in the callback-based qps client.
...
The alarm is only used in the fixed-load scenarios, but its
construction is a major point of contention in both the closed-loop
and fixed-load scenarios. Delay its creation to when it is going to be
used, which will get rid of the contention in the closed-loop scenarios.
6 years ago
Richard Belleville
5b720f19c1
Merge pull request #18859 from grpc/internal_py_proto_library
...
Remove dependency on pubref/rules_proto.
6 years ago
Yang Gao
a64ae3c0d5
Merge pull request #18906 from yang-g/init_test
...
Use milliseconds for test_server timeout
6 years ago
yang-g
5e7e494638
Use milliseconds for test_server timeout
6 years ago
Arjun Roy
ed43236377
Coalesce arena create/first alloc for grpc_call.
6 years ago
Soheil Hassas Yeganeh
e74bde7702
Merge pull request #18899 from soheilhy/grpc-fix-h2-typo
...
Fix a typo in chttp2 stream initialization.
6 years ago
Jan Tattermusch
bccbbddfe4
Merge pull request #18903 from jtattermusch/bazel_rbe_biquery_uploading
...
Fix uploading bazel RBE results to bigquery
6 years ago
Jan Tattermusch
7820b44c20
Merge pull request #18060 from frazenshtein/master
...
Pass WSA_FLAG_NO_HANDLE_INHERIT flag to the WSASocketA() to avoid handle leaking on the Windows in case of using CreateProcess() on the server
6 years ago
Jan Tattermusch
952ddb6a2b
fix uploading bazel RBE results to bigquery
6 years ago
Jan Tattermusch
0ffb9ff3b5
Merge pull request #18876 from grpc/jtattermusch-patch-8
...
Add info about C# nightly nuget feed
6 years ago
Soheil Hassas Yeganeh
069547e944
Fix a typo in chttp2 stream initialization.
...
Found this during performance optimizations. We always reinitialize
this to the correct value, so this wasn't caught in tests.
6 years ago
Arjun Roy
77eb7306d8
Merge pull request #18818 from arjunroy/md_ref_unref
...
Inlined md_ref/unref and saved some unnecessary ops
6 years ago
Arjun Roy
664d4d984b
Removed gpr_atm from UserData
6 years ago
apolcyn
cdbab7bd72
Merge pull request #18752 from blowmage/bad_status-to_rpc_status
...
[Ruby] Add BadStatus#to_rpc_status
6 years ago
Richard Belleville
f371d95c47
Handle protos at root package level
6 years ago
Arjun Roy
b779a954b1
Inlined md_ref/unref and saved some unnecessary ops
6 years ago
murgatroid99
9f3c78177f
Resolve final comments
6 years ago
Yash Tibrewal
6fac033568
Merge pull request #18746 from yashykt/svc_cfg2
...
Service config changes Part 2
6 years ago