Commit Graph

3233 Commits

Author SHA1 Message Date
Muxi Yan 71727d1efb Merge remote-tracking branch 'upstream/master' into default-cfstream-2 2019-04-01 15:34:07 -07:00
Karthik Ravi Shankar 87c98ad3fb
Merge pull request #18379 from grpc/grpc_namespace_server_initializer
Move ServerInitializer to grpc_impl namespace from grpc
2019-04-01 12:48:28 -07:00
Karthik Ravi Shankar a9a0739dc8
Merge pull request #18371 from grpc/grpc_namespace_healthserviceinterface
Move ::grpc::HealthCheckServiceInterface to ::grpc_impl namespace
2019-04-01 12:28:13 -07:00
Karthik Ravi Shankar 3d5a9758fa
Merge pull request #18345 from grpc/revert-18343-revert-18220-grpc_namespace
Revert "Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota""
2019-04-01 12:27:51 -07:00
Karthik Ravi Shankar a10d4825c1
Merge pull request #18372 from grpc/grpc_namespace_server_posix
Move server_posix from grpc to grpc_impl namespace
2019-03-29 10:18:56 -07:00
Karthik Ravi Shankar 3354f2c5a7
Merge pull request #18373 from grpc/grpc_namespace_channel_create_posix
Move create_channel_posix from grpc to grpc_impl namespace
2019-03-29 10:17:59 -07:00
Karthik Ravi Shankar dcc199048f
Merge pull request #18396 from grpc/revert-18392-revert-18223-grpc_namespace_opencensus
Revert "Revert "Fold opencensus into grpc_impl namespace""
2019-03-29 10:09:01 -07:00
Karthik Ravi Shankar c85a03e308
Merge pull request #18377 from grpc/grpc_namespace_server_builder_option
Move ServerBuilderOption from grpc to grpc_impl namespace
2019-03-29 10:08:17 -07:00
Karthik Ravi Shankar 4fe664e065
Merge pull request #18375 from grpc/grpc_namespace_channelz_service_plugin
Move channelz_service_plugin from grpc to grpc_impl namespace
2019-03-29 10:07:53 -07:00
Muxi Yan d771bcab2c Merge remote-tracking branch 'upstream/master' into default-cfstream-2 2019-03-28 14:49:15 -07:00
Vijay Pai 847b0155d9 Promise to call OnStarted and forbid Start* until after OnStarted 2019-03-27 16:30:07 -07:00
Karthik Ravi Shankar e4945761f3 Merge branch 'master' into grpc_namespace_healthserviceinterface 2019-03-27 12:38:25 -07:00
Karthik Ravi Shankar 1bb2db83d8 Merge branch 'master' into grpc_namespace_channel_create_posix 2019-03-27 12:35:05 -07:00
Karthik Ravi Shankar 2ed030b3e8 Merge branch 'master' into grpc_namespace_channelz_service_plugin 2019-03-27 12:30:47 -07:00
Karthik Ravi Shankar 577ddfb1a1 Move ServerInitializer to grpc_impl namespace from grpc 2019-03-27 12:28:35 -07:00
Karthik Ravi Shankar a88e3f4c2e Move ServerBuilderOption from grpc to grpc_impl namespace 2019-03-27 12:20:43 -07:00
Vijay Pai abb991be25 Further clarify some APIs by removing their comments from internal:: 2019-03-27 09:46:08 -07:00
Vijay Pai 9169159f30 Comments for all callback API methods 2019-03-26 23:33:23 -07:00
Karthik Ravi Shankar e4bb7cb8bb
Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder" 2019-03-25 19:57:17 -07:00
Vijay Pai f4fdd829d7
Merge pull request #17892 from RohanTalip/HandlerParameter-doc
Renamed the param in the documentation for HandleParameter to match the actual parameter.
2019-03-25 16:46:17 -07:00
Karthik Ravi Shankar 88fc2a6a52
Merge pull request #18242 from grpc/grpc_namespace_serverbuilder
Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder
2019-03-25 15:59:01 -07:00
Karthik Ravi Shankar b2b1e57337 Fix errors from test scripts. 2019-03-25 15:55:06 -07:00
Karthik Ravi Shankar 850d02d67d Move channelz_service_plugin from grpc to grpc_impl namespace 2019-03-25 15:55:06 -07:00
Karthik Ravi Shankar 4b0175f2c8 Fix errors from clang_format_code.sh 2019-03-25 15:53:22 -07:00
Karthik Ravi Shankar 130962490b Make changes to fix test failures 2019-03-25 15:52:42 -07:00
Karthik Ravi Shankar 392554e341 Fixing clang_tidy_format.sh issues. 2019-03-25 15:52:42 -07:00
Karthik Ravi Shankar 49773cbe9a Fix namespace to grpc 2019-03-25 15:52:42 -07:00
Karthik Ravi Shankar d23753ca46 Move create_channel_posix from grpc to grpc_impl namespace 2019-03-25 15:52:42 -07:00
Karthik Ravi Shankar d204654836 Fix errors from clang_format_code.sh 2019-03-25 15:51:28 -07:00
Karthik Ravi Shankar 6e5587b165 Fix build issues. 2019-03-25 15:50:35 -07:00
Karthik Ravi Shankar 35e793d23a Fix more more tests. 2019-03-25 15:50:35 -07:00
Karthik Ravi Shankar 8dbaa13f52 Fix more grpc namespace issues 2019-03-25 15:50:35 -07:00
Karthik Ravi Shankar 92bde3922f Fix tests to use grpc namespace. 2019-03-25 15:50:35 -07:00
Karthik Ravi Shankar b25f6da3f0 Make changes to fix test failures 2019-03-25 15:50:35 -07:00
Karthik Ravi Shankar e27ddbc87e Move ::grpc::HealthCheckServiceInterface to ::grpc_impl namespace 2019-03-25 15:50:35 -07:00
Soheil Hassas Yeganeh a3366c1b7f
Merge pull request #18464 from soheilhy/slice-buffer
Introduce grpc_byte_buffer_reader_peek and use it for Protobuf parsing.
2019-03-23 22:42:23 -04:00
Nicolas Noble 0045a22101
Merge pull request #18443 from guzt/fuchsia_gn
Add Fuchsia support.
2019-03-21 13:00:27 -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
Vijay Pai 50576179f8
Merge pull request #17978 from yashykt/interceptorcleanup1
Global Interceptor Registration allowed only once
2019-03-20 19:13:55 -07:00
Arjun ca69f911a7 Add initial Fuchsia support.
1. Add a BUILD.gn file
2. Support fuchsia as a platform

This is heavily based on the changes in https://fuchsia.googlesource.com/third_party/grpc/
2019-03-20 10:26:49 -07:00
Karthik Ravi Shankar f58aed2d06 Make changes to server_posix to expose method outside 2019-03-19 10:50:53 -07:00
Karthik Ravi Shankar 1d357572cf Revert "Moving ::grpc::ResourceQuota to ::grpc_impl::ResouceQuota"
This reverts commit d8d8bec7c8.
2019-03-19 10:43:02 -07:00
Karthik Ravi Shankar 8dcd98ef8c Fix server unit test errors. 2019-03-19 10:19:39 -07:00
Vijay Pai 7b3a120295 Address reviewer comments 2019-03-18 16:51:15 -07:00
Vijay Pai 93f0a3f653 Address reviewer comments 2019-03-18 15:37:35 -07:00
Vijay Pai 04a6b8467c Support callback on cancellation of server-side unary RPCs 2019-03-18 12:00:57 -07:00
Karthik Ravi Shankar 6c9951680e Fix clang_format_code.sh errors. 2019-03-18 10:40:27 -07:00
Karthik Ravi Shankar 322e720fe6 Merge branch 'master' into grpc_namespace_serverbuilder 2019-03-18 10:39:38 -07:00
Vijay Pai 8c3d4a7dfd
Merge pull request #18072 from vjpai/client_streaming_hold
C++ callback API: Add support for client-side extra-reaction operations via Holds
2019-03-16 10:27:36 -07:00
Vijay Pai 797b01a85e
Merge pull request #17760 from Norman0406/fix-interceptor_memory_leak
Fixing memory leak in interceptor by removing unsued send_status_
2019-03-16 10:14:19 -07:00