Commit Graph

568 Commits

Author SHA1 Message Date
yang-g 9c63d75e20 Resolve comments 2020-05-11 15:42:37 -07:00
yang-g 52b3c66e53 Cover both subchannel sharing/non-sharing cases in test 2020-05-11 14:52:36 -07:00
yang-g ae8770a317 Let the connectivity test use local subchannel pool to create multiple connections 2020-05-11 11:57:19 -07:00
Mark D. Roth c769951764 Remove deprecated variant of JoinHostPort(). 2020-05-08 09:13:26 -07:00
ZhenLian d75de51e43 [10/n] remove hard-coded credential paths and rebuild the project 2020-04-29 10:51:56 -07:00
Yash Tibrewal b7941bedf3
Merge pull request #22575 from yashykt/newfilter
Move decompression into gRPC Core
2020-04-16 15:21:01 -07:00
ZhenLian 882bc03432
Merge pull request #22672 from grpc/zhen_core_test_improvement_4
[5/n] Avoid using hardcoded test credentials
2020-04-15 23:07:10 -07:00
ZhenLian 5dfa78b55f [No Review] test MacOS test behaviors 2020-04-15 00:01:30 -07:00
ZhenLian 096c276182 [4/n] Avoid using hardcoded test credentials 2020-04-14 11:47:19 -07:00
Yash Tibrewal d24387ae4f Removing compression from grpc_byte_buffer_reader, removing ManualConstructor in decompress filter and fixing tests 2020-04-13 17:29:27 -07:00
Jan Tattermusch e4ea74131d
add a bug reference 2020-04-03 08:12:31 +02:00
Muxi Yan d18091014c
Mark completion_queue_threading_test flaky 2020-04-02 12:18:49 -07:00
Jan Tattermusch a791e16983 mark more tests as flaky 2020-03-17 05:32:17 -04:00
Esun Kim 0b26a2ff56 Added abseil-based sync 2020-02-11 14:44:25 -08:00
Yash Tibrewal f6ae5426f6 Clang format 2020-01-17 13:03:25 -08:00
Yash Tibrewal d66bb39b12 Reduce testing load on MacOS systems 2020-01-17 12:26:46 -08:00
yang-g 88d5971870 Add a blocking init/shutdown test 2020-01-13 12:00:57 -08:00
Akshay Kumar b50280a61a FullChainExperimental-01-200106-generateprojects 2020-01-06 09:12:21 -08:00
Jan Tattermusch 78888d7861 avoid thread local unitialized problem under GRPC_PTHREAD_TLS 2019-11-25 13:35:26 +01:00
Vijay Pai be6979202b Revamp server-side C++ callback API, message allocator, and mocking 2019-11-20 16:56:18 -08:00
Esun Kim e45b60d1fe Fix unique_ptr<char> memory allocation mismatch 2019-11-07 17:53:59 -08:00
Esun Kim b2b7fc9af8 Replaced grpc_core::UniquePtr with std::unique_ptr 2019-11-07 13:05:39 -08:00
Esun Kim 3a519a0b64 Replaced grpc_core New & Delete with C++ new & delete 2019-11-06 17:52:26 -08:00
Lidi Zheng c34bef4ca4 Format all Bazel files with buildifier 2019-11-05 14:03:52 -08:00
Esun Kim 81df105ac8 Deprecate gpr_get/set_allocation_functions 2019-11-04 19:47:33 -08:00
Vijay Pai 0c5669fbc7 Regen projects 2019-10-21 10:28:24 -07:00
Vijay Pai c3faf1c3b8 Remove unused parameter warning (12 of 20) 2019-10-17 08:51:34 -07:00
Mark D. Roth 5e9404e41a Fix polymorphism for UniquePtr<> and OrphanablePtr<>. 2019-10-01 09:34:05 -07:00
Mark D. Roth cb67811c47 Revert "Merge pull request #20407 from markdroth/transport_connectivity_state_watcher_revert"
This reverts commit 48550de866, reversing
changes made to 24b529e408.
2019-09-30 11:22:32 -07:00
Mark D. Roth 33f139b6e6 Revert "Merge pull request #20255 from markdroth/transport_connectivity_state_watcher"
This reverts commit 0f5a111aad, reversing
changes made to 1276a8f628.
2019-09-30 10:06:14 -07:00
Jan Tattermusch 24b529e408
Merge pull request #20343 from jtattermusch/bazel_tests_uses_polling
Set "uses_polling" arg for bazel tests
2019-09-30 08:13:31 +02:00
Mark D. Roth ece8fd6642 Change transport connectivity watch API to not be lossy. 2019-09-26 11:20:02 -07:00
Jan Tattermusch 6ebc1c616f set uses_polling=False for some bazel tests 2019-09-24 09:50:00 +02:00
Yihua Zhang ae863630d5 Add spiffe client-side credential reload 2019-08-12 14:12:13 -07:00
Soheil Hassas Yeganeh dbf88dd66f Revert "Revert "Introduce string_view and use it for gpr_split_host_port.""
This reverts commit 80c177d4c4.
2019-06-27 20:56:15 -04:00
jboeuf bd8698e8fd
Merge pull request #19032 from jboeuf/sts_core_creds_pr
Adding support for STS Token Exchange Creds in core:
2019-06-26 16:29:41 -07:00
Soheil Hassas Yeganeh 80c177d4c4
Revert "Introduce string_view and use it for gpr_split_host_port." 2019-06-26 16:22:13 -04:00
Julien Boeuf 189c2c8c30 Adding support for STS Token Exchange Creds in core:
- IETF specification is available here:
https://tools.ietf.org/html/draft-ietf-oauth-token-exchange-16
2019-06-26 12:48:05 -07:00
Soheil Hassas Yeganeh ef0f9bf7ec Introduce string_view and use it for gpr_split_host_port. 2019-06-20 23:19:34 -04:00
Yihua Zhang a887f35a9b add a new struct - grpc_ssl_verify_peer_options and an API - grpc_ssl_credentials_create_ex. 2019-05-30 16:00:50 -07:00
Karthik Ravi Shankar 196b0aa3a3
Revert "Revert "Start supporting a callback-based RPC under lock"" 2019-05-29 13:15:47 -07:00
Karthik Ravi Shankar b790c24e5c
Revert "Start supporting a callback-based RPC under lock" 2019-05-29 11:20:36 -07:00
Karthik Ravi Shankar 3d258e89ae Fix windows compiler errors 2019-05-22 14:59:33 -07:00
Karthik Ravi Shankar 56ff5a918f Address review comments - 1 2019-05-20 11:35:45 -07:00
Karthik Ravi Shankar 92aa0530fa Changes to locking order 2019-05-17 12:17:16 -07:00
Karthik Ravi Shankar e68316dda5 Fix errors from clang format script 2019-05-14 12:07:05 -07:00
Karthik Ravi Shankar f3911e7ff1 Fix the completion queue tests for the new behavior 2019-04-22 16:43:20 -07:00
Soheil Hassas Yeganeh ad1b3e5094 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()

This commit reaplies 509e77a5a3
2019-03-21 06:03:45 -04:00
Soheil Hassas Yeganeh c060d55cc7
Revert "Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing." 2019-03-05 14:01:01 -05:00
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()
2019-03-04 14:17:46 -05:00