yang-g
51210ba922
Update the message allocator API
6 years ago
Karthik Ravi Shankar
3996599392
Fix clang script errors
6 years ago
Karthik Ravi Shankar
772a74aced
Revert changes to Channel
6 years ago
Karthik Ravi Shankar
6be0b06c69
Revert "Fold CompletionQueue and ServerCompletionQueue into grpc_impl"
6 years ago
yang-g
898fc0da1e
More fixes
6 years ago
yang-g
ac3a91edf8
Support accepting external connections.
6 years ago
Karthik Ravi Shankar
5f6a57a4d0
Formatting issues
6 years ago
Hope Casey-Allen
3433749d1b
Add clarification to callback API documentation
6 years ago
Karthik Ravi Shankar
60bdeef9f4
Move Channel also to impl for now
6 years ago
Karthik Ravi Shankar
603d014f0e
Changes to fold credentials into grpc_impl from grpc
6 years ago
yang-g
39cfbf9d4a
cast and default initializer
6 years ago
yang-g
41824319fa
Resolve review comments
6 years ago
Vijay Pai
1a4f5e8ade
Fix typo in comment
...
It's a ServerWriteReactor
6 years ago
Vijay Pai
20c08dbc7a
Add client-side unary reactor model
6 years ago
SataQiu
c4a2069d9c
fix spelling errors of include/*
6 years ago
Soheil Hassas Yeganeh
1c186784cd
Make sure grpc::internal::Mutex has enough space for gpr_mu, std::mutex, and pthread_mutex_t.
6 years ago
Soheil Hassas Yeganeh
2b9448a71c
Revert "Revert "Introduce C++ wrappers for gpr_mu and gpr_cv.""
...
This reverts commit d09c9f8e20
.
6 years ago
yang-g
051d421579
Resolve sanity
6 years ago
yang-g
6929cdd654
initial
6 years ago
SataQiu
b416019f72
fix spelling errors of include/*
6 years ago
Jean de Klerk
a19d8dcfb5
docs: add note about retrying UNAVAILABLE
...
release note: no
6 years ago
Alexander Polcyn
d09c9f8e20
Revert "Introduce C++ wrappers for gpr_mu and gpr_cv."
...
This reverts commit a26c09dd25
.
6 years ago
Karthik Ravi Shankar
00f736adda
Remove unecessary file
6 years ago
Karthik Ravi Shankar
62fb156122
Fold CompletionQueue and ServerCompletionQueue into grpc_impl
6 years ago
Karthik Ravi Shankar
2554f122c1
Remove unecessary files
6 years ago
Karthik Ravi Shankar
973fa6950e
Fold Channel into grpc_impl from grpc namespace
6 years ago
Karthik Ravi Shankar
2e88231fc0
Revert "Revert "Merge pull request #18458 from grpc/grpc_namespace_server""
6 years ago
Soheil Hassas Yeganeh
e85dd2e644
Fix build errors
6 years ago
Karthik Ravi Shankar
f03b309787
Revert "Merge pull request #18458 from grpc/grpc_namespace_server"
...
This reverts commit dc1089a6d1
, reversing
changes made to 31843787cc
.
This change also includes - Revert "Merge pull request #17932 from soheilhy/gprpp-mutex"
This reverts commit df4b6a763d
, reversing
changes made to dc1089a6d1
.
6 years ago
Karthik Ravi Shankar
dad3f34207
Revert "Revert "Revert "Folding the Channel class into the grpc_impl namespace."""
6 years ago
Vijay Pai
41c6cba9f5
Make sure that OnCancel happens after OnStarted
6 years ago
Karthik Ravi Shankar
891b6cf7ae
Revert "Folding CompletionQueue and ServerCompletionQueue."
6 years ago
SataQiu
44f92cdd17
clean up repeated words
6 years ago
Karthik Ravi Shankar
506ca7fc36
Fix clang script errors
6 years ago
Karthik Ravi Shankar
b84d3db762
Fix build after merge from master
6 years ago
Soheil Hassas Yeganeh
a26c09dd25
Introduce C++ wrappers for gpr_mu and gpr_cv.
...
Introduce RAII wrappers in the grpc::internal and grpc_core
namespaces, and use them in place of std::mutex and
std::condition_variable.
Note that, since std::mutex is also used by the public
C++ headers we cannot introduce these wrappers in grpc_core.
Also, note that in grpcpp we cannot use gRPC core and vice versa.
So we had to duplicate the code, once using core_codegen_interface
and once using direct calls.
6 years ago
Karthik Ravi Shankar
4cb0d0d6b1
Fix errors from clang scripts
6 years ago
Hope Casey-Allen
b86e70592e
Format
6 years ago
Hope Casey-Allen
cee3292cdf
Update callback API documentation
6 years ago
Karthik Ravi Shankar
9b42ab79e0
Make build fixes for bazel build :all
6 years ago
Karthik Ravi Shankar
a93ff7d617
Fix script errors
6 years ago
Vijay Pai
847b0155d9
Promise to call OnStarted and forbid Start* until after OnStarted
6 years ago
Karthik Ravi Shankar
dc3a715be4
Fix clang format code errors.
6 years ago
Karthik Ravi Shankar
577ddfb1a1
Move ServerInitializer to grpc_impl namespace from grpc
6 years ago
Karthik Ravi Shankar
a88e3f4c2e
Move ServerBuilderOption from grpc to grpc_impl namespace
6 years ago
Vijay Pai
abb991be25
Further clarify some APIs by removing their comments from internal::
6 years ago
Vijay Pai
9169159f30
Comments for all callback API methods
6 years ago
Karthik Ravi Shankar
996da58667
Revert "Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder""
6 years ago
Karthik Ravi Shankar
e4bb7cb8bb
Revert "Moving ::grpc::ServerBuilder to ::grpc_impl::ServerBuilder"
6 years ago
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
6 years ago