Commit Graph

3685 Commits

Author SHA1 Message Date
Vijay Pai 302e7b4d2b
Merge pull request #17658 from guantaol/avoid_thd_jump
Avoid the thread jump in server callback APIs.
2019-01-09 13:43:24 -08:00
Juanli Shen 23677bd827 Remove subchannel args 2019-01-08 19:43:45 -08:00
Guantao Liu 11eff929e2 Avoid the thread jump in server callback APIs.
Add a utility function in iomgr to check whether the caller thread is a
worker for any background poller, and keep grpc combiner from offloading
closures to the default executor if the current thread is a worker for
any background poller.
2019-01-07 18:22:50 -08:00
Yash Tibrewal 8dcda4dc36
Merge pull request #17630 from yashykt/nocopyinterception
Modifying semantics for GetSendMessage and GetSerializedSendMessage. Also adding ModifySendMessage
2019-01-07 16:32:24 -08:00
Yash Tibrewal dd067fd390 Merge branch 'master' into nocopyinterception 2019-01-07 10:09:06 -08:00
Soheil Hassas Yeganeh 0d6e10e795 clang-format all the files.
Whenever we run clang-format, gen_build_yaml.py and
ServerServiceDefinitionExtensions.cs get modified by the script.

Let's commit those changes so that these file remain unmodified
after running the formatting script.
2019-01-07 10:21:09 -05:00
Yash Tibrewal 059459a9ee Merge branch 'master' into failhijackedrecv 2019-01-04 17:28:25 -08:00
Yash Tibrewal 8ba5922e87 Merge branch 'master' into failhijackedsend 2019-01-04 15:29:00 -08:00
Yash Tibrewal 4886c937c1 Merge branch 'master' into failhijackedsend 2019-01-04 14:15:19 -08:00
Yash Tibrewal 6e5eb4e5a3 Merge branch 'master' into failhijackedrecv 2019-01-04 14:03:37 -08:00
Yash Tibrewal 6fc7adf277 Merge branch 'master' into bidiinterceptiontest 2019-01-04 13:54:14 -08:00
Yash Tibrewal b05ca9697b Merge branch 'master' into failhijackedrecv 2019-01-04 11:30:03 -08:00
Yash Tibrewal a5ed3d245e Avoid unsigned signed comparison issues 2019-01-04 11:17:35 -08:00
Moiz Haidry d3db9fee9c
Merge pull request #17461 from mhaidrygoog/callback_client_streaming_benchmark
Add support for Callback Client Streaming benchmarks
2019-01-03 20:38:54 -08:00
Yash Tibrewal 4224384d39 Modifying semantics for GetSendMessage and GetSerializedSendMessage.
Also adding ModifySendMessage
2019-01-03 18:01:58 -08:00
Yash Tibrewal bac79bdabe Merge branch 'master' into failhijackedsend 2019-01-03 15:51:43 -08:00
Yash Tibrewal 50c60f03ba Rename GetSendMessage to GetSerializedSendMessage and GetOriginalSendMessage to GetSendMessage 2019-01-03 12:21:19 -08:00
Yash Tibrewal c6261f4b91 Rename new SendMessage types to SendMessagePtr 2019-01-02 14:46:52 -08:00
Yash Tibrewal 4aeba42528 Provide GetOriginalSendMessage for some APIs 2018-12-28 17:27:38 -08:00
Yash Tibrewal aecc5f7285 Add client interceptor test for bidi streaming hijacking interceptor 2018-12-28 16:03:20 -08:00
Yash Tibrewal 24e37e249a Merge branch 'master' into failhijackedrecv 2018-12-26 15:10:41 -08:00
Yash Tibrewal 5a6183f1bd Merge branch 'master' into failhijackedsend 2018-12-26 13:33:06 -08:00
Moiz Haidry 7bb853ebdd Addressed PR comments. Made Client::Thread public and removed use of void ptr to refer it. Avoided overloading of NextIssue TIme by renaming it NextRPCIssueTime 2018-12-21 22:40:38 -08:00
Soheil Hassas Yeganeh c3eb206897
Merge pull request #17582 from soheilhy/worktree-timer-bench
Add microbenchmarks for grpc_timer
2018-12-21 21:35:30 -05:00
Soheil Hassas Yeganeh 2e017da58a Add microbenchmarks for grpc_timer
This helps assessing upcoming changes.
2018-12-21 18:56:09 -05:00
apolcyn 00fb17aa97
Merge pull request #17575 from apolcyn/refactor_benchmark_channel_wait_for_ready_to_be_single_threaded
Refactor benchmark's initial wait-for-ready to be single threaded
2018-12-21 15:42:26 -08:00
Alexander Polcyn 50eaf46718 Refactor benchmark initial channel wait for ready to be single threaded 2018-12-21 14:07:46 -08:00
Yang Gao 806c1e0b7a
Merge pull request #17573 from yang-g/socket_mutator
Correctly reference the internal string for socket mutator arg
2018-12-21 10:23:31 -08:00
yang-g d6dd6f25f4 Correctly reference the internal string for socket mutator arg 2018-12-20 15:37:30 -08:00
Jan Tattermusch 2b028c8cec do not use default server override for C++ interop client 2018-12-20 14:49:54 +01:00
Nicolas Noble 62fd6850b0
Merge pull request #17534 from markdroth/grpclb_subchannel_fix
Fix bug incorrectly inhibiting subchannel sharing for grpclb.
2018-12-18 16:05:13 -08:00
Yang Gao 998f41a593
Merge pull request #17441 from yang-g/gpr_test_util_to_grpc_test_util
Fold gpr_test_util to grpc_test_util
2018-12-18 15:27:20 -08:00
Yash Tibrewal 3c3876a5da
Merge pull request #17544 from yashykt/factorydocs
Allow interceptor creators to return nullptr
2018-12-18 14:48:43 -08:00
Mark D. Roth 1438b17890 Fix bug that was breaking subchannel reuse in grpclb. 2018-12-18 14:14:42 -08:00
Yash Tibrewal 31a775b425 Add missing argument 2018-12-18 12:52:14 -08:00
Yash Tibrewal a20263f64d Add tests using NullInterceptorFactory 2018-12-18 12:41:49 -08:00
Yash Tibrewal bb303513dc Merge master 2018-12-18 11:40:52 -08:00
Vijay Pai c52ae0d000 Give the interceptors header files in include/grpcpp/support 2018-12-17 15:17:01 -08:00
yang-g 038a71d826 Merge remote-tracking branch 'upstream/master' into gpr_test_util_to_grpc_test_util 2018-12-17 08:52:20 -08:00
Moiz Haidry b250f34b12
Merge pull request #17465 from mhaidrygoog/server_streaming_callback_benchmark
Benchmark Streaming support for callback server
2018-12-14 16:50:45 -08:00
Vijay Pai ca4e55e6ca Benchmark to show that byte buffer copy is size-independent 2018-12-14 13:23:34 -08:00
Moiz Haidry 5ec78a286d Added support for fixed load benchmarks, all the rpcs access one requestor to the get the next issue time for the RPC 2018-12-14 10:49:12 -08:00
Moiz Haidry e6e1081499 Add support for Callback Client Streaming benchmarks 2018-12-13 09:40:37 -08:00
Soheil Hassas Yeganeh 9decf48632 Move security credentials, connectors, and auth context to C++
This is to use `grpc_core::RefCount` to improve performnace.
This commit also replaces explicit C vtables, with C++ vtable
with its own compile time assertions and performance benefits.
It also makes use of `RefCountedPtr` wherever possible.
2018-12-13 10:38:12 -05:00
Moiz Haidry 3bc323977f Streaming support for callback server 2018-12-11 13:12:39 -08:00
Noah Eisen 9e9cae7839
Merge pull request #17456 from ncteisen/socket-pagination
Channelz: Add Pagination to ServerSockets
2018-12-11 12:27:49 -08:00
ncteisen c7f7db65e0 Add test and fix bug 2018-12-11 11:28:12 -08:00
Mark D. Roth c5f344deaf
Revert "Revert "Allow encoding arbitrary channel args on a per-address basis."" 2018-12-11 07:48:14 -08:00
Noah Eisen 403da153c8
Merge pull request #17433 from ncteisen/socket-name
Channelz: Surface Socket Name
2018-12-09 15:17:57 -08:00
hcaseyal 27e2ba31bf
Revert "Allow encoding arbitrary channel args on a per-address basis." 2018-12-07 16:13:37 -08:00