Soheil Hassas Yeganeh
1027149f8d
Run run_after_write closures in h2 once write action is done.
...
We flush these closures only when the connection goes IDLE.
This will cause no completion being sent, if we have a continuous
stream of bytes that never stops, causing a memory bloat because
we never call the callbacks of the ops.
For example, we use 100s of GiB of memory after a minute of exchanging
1MiB RPCs with callback API.
This patch runs the closures when we have done running
one write action.
After this change memory remains stable for the 1MiB benchmark.
QPS is increased by 200 QPS (520 -> 749), and latency is dropped
by 70ms, because we were basically page-faulting on every RPC.
6 years ago
Bill Feng
6e7ef05bff
Merge pull request #18180 from billfeng327/update-deps-version
...
Added selective inclusion to enable Windows Bazel builds
6 years ago
billfeng327
1e4b706068
used universal header file
6 years ago
billfeng327
3f3da2e23f
submodule update
6 years ago
billfeng327
b9d784338d
Merge branch 'master' into update-deps-version
6 years ago
billfeng327
0eaa2cd6bd
added selective header inclusion for Windows
6 years ago
Bill Feng
a0e06fdac4
Merge pull request #18162 from billfeng327/update-deps-version
...
updated version of abseil for enabling windows bazel build
6 years ago
Yang Gao
e673264321
Merge pull request #18164 from yang-g/overflow
...
Prevent overflow
6 years ago
Eric Gribkoff
05f63ef7ef
Merge pull request #18172 from ericgribkoff/fix_mocks
...
use isinstance for internal api to workaround mocks
6 years ago
Nicolas Noble
7b95e0ef08
Merge pull request #18154 from laurentlb/master
...
Fix for future Bazel changes
6 years ago
Jan Tattermusch
99dd1ed29d
Merge pull request #18174 from truongnh1992/removing-redundant-words
...
Remove duplicated word in document
6 years ago
Nguyen Hai Truong
029f6850c2
Remove duplicated word in document
...
Although it is spelling mistakes, it might make an affects
while reading.
Signed-off-by: Nguyen Hai Truong <truongnh@vn.fujitsu.com>
6 years ago
Jan Tattermusch
ea37365ac4
Merge pull request #18170 from longkb/remove_duplicated_words_in_doc
...
Remove duplicated word 'for for' in doc
6 years ago
Eric Gribkoff
1c2303c635
use isinstance for internal api to not catch mocks
6 years ago
Kim Bao Long
9e7bb5d17d
Remove duplicated word 'for for' in doc
...
Although it is spelling mistakes, it might make an affects while reading.
Co-Authored-By: Nguyen Phuong An <AnNP@vn.fujitsu.com>
Signed-off-by: Kim Bao Long <longkb@vn.fujitsu.com>
6 years ago
Bill Feng
179eb2b4a5
update dependency version for bazel
6 years ago
yang-g
e5509e36d6
Prevent overflow
6 years ago
apolcyn
b7ee2d9bdb
Merge pull request #18134 from apolcyn/add_more_env_vars
...
List c-ares tracers in documentation
6 years ago
billfeng327
9d81e9ef61
updated version of abseil for enabling windows bazel build
6 years ago
Yang Gao
4bccb4c5fd
Merge pull request #18153 from yang-g/ares
...
Avoid calling ares_library_init and ares_library_cleanup except for w…
6 years ago
Lidi Zheng
07b2b54f07
Merge pull request #18116 from lifanov/cstd
...
generalize macOS workaround for -std=c++11 passed in C mode
6 years ago
yang-g
8259bc25ce
fix format
6 years ago
Laurent Le Brun
6f3a00c1a3
Fix for future Bazel changes
...
This fixes issues found by running Bazel with `--incompatible_no_support_tools_in_action_inputs` and `--incompatible_new_actions_api`.
6 years ago
yang-g
7afcb32650
Avoid calling ares_library_init and ares_library_cleanup except for windows
6 years ago
Vijay Pai
c924e0b63e
Merge pull request #18136 from vjpai/callback_test_interceptor
...
Increase test scenarios for client-side of callback API plus fix exposed bugs
6 years ago
Mark D. Roth
c9aebe3880
Merge pull request #18081 from markdroth/service_config_ref_counted
...
Make service config ref-counted and hold refs to it in LB config.
6 years ago
Soheil Hassas Yeganeh
2c32f29802
Merge pull request #18148 from soheilhy/atomic-fix-hdr
...
Add missing header to gprpp/atomic.h
6 years ago
Jan Tattermusch
a635255095
Merge pull request #18086 from chwarr/servercallcontext-userstate
...
Add UserState dictionary to C# ServerCallContext
6 years ago
Vijay Pai
8feb16171a
Add an expectation and fix a ServerContext bug
6 years ago
Vijay Pai
5f8fe7d5cc
Test for simultaneous Read and WritesDone
6 years ago
Vijay Pai
ac5f5c4fe2
Add ClientCancelsRequestStream test
6 years ago
Vijay Pai
23f39363c4
Inproc: properly handle send message that won't go to other side
6 years ago
Vijay Pai
05b98a4896
Also add streaming tests that cancel from client
6 years ago
Vijay Pai
857e622e6f
Merge pull request #18098 from vjpai/try_2
...
Reduce starting callback counter to exclude client-side StartCall
6 years ago
Soheil Hassas Yeganeh
6bde9122a7
Add missing header to gprpp/atomic.h
...
I missed to include atm.h for the stat macros.
6 years ago
Vijay Pai
9079e98dfc
Merge pull request #18146 from grpc/revert-17308-shutdown
...
Revert "Move grpc_shutdown internals to a detached thread"
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
Yang Gao
76a38bfcc2
Merge pull request #18143 from grpc/revert-18120-detach
...
Revert "Fix-forward: avoid data race on detached thread deletion"
6 years ago
Nikolai Lifanov
580b720a39
address comments by ericgribkoff@
...
o re-add USE_PREBUILT_GRPC_CORE option that was erroneously removed
o fix typo in comment
6 years ago
Yang Gao
dc3aadb6a5
Revert "Fix-forward: avoid data race on detached thread deletion"
6 years ago
Mark D. Roth
d7fe3b023e
Merge pull request #18141 from markdroth/resolver_connectivity_state
...
Transition into state CONNECTING when we start name resolution
6 years ago
Eric Gribkoff
d6e8c4fdb1
Merge pull request #18129 from ericgribkoff/abort_test_test
...
Disable test_abort_does_not_leak_local_vars
6 years ago
Nikolai Lifanov
829455187c
specify -stdlib=libc++ for darwin
...
It's not the default with older Apple clang builds
and without it c++11 features don't work on at least OS X 10.7:
./src/core/lib/gprpp/ref_counted.h:28:10: fatal error: 'atomic' file not found
#include <atomic>
^~~~~~~~
I manually tested it on macOS 10.11 image and there was not a
regression.
This should fix the "Artifact Build MacOS (internal CI)" test failure.
6 years ago
Lidi Zheng
75df1eccad
Merge pull request #17881 from lidizheng/bzl-py3-fix
...
[Roll Forward] Enable Python 3 for Bazel to Run Tests
6 years ago
Nikolai Lifanov
a916a53347
use str instead of Text to appease Python 2.7
...
The Python 2.7 Linux test runner doesn't have typing module available.
6 years ago
Nikolai Lifanov
91db94b278
build grpc libraries now that submake for macOS is removed
6 years ago
Mark D. Roth
428fa7602c
Transition into state CONNECTING when we start name resolution.
6 years ago
Mark D. Roth
5f00cfd3bd
Merge pull request #18096 from markdroth/lb_policy_api
...
Second attempt: LB policy picker API
6 years ago
Mark D. Roth
148ae20e44
Code review changes.
6 years ago