Sree Kuchibhotla
995ed1c3c6
Fix bug
8 years ago
Sree Kuchibhotla
b5b6bfd89b
Updates C Core
8 years ago
Sree Kuchibhotla
2abbf8a319
Changes to use the new API
8 years ago
Sree Kuchibhotla
48ed124138
minor enum change
8 years ago
Sree Kuchibhotla
add6962d7a
Add version macro
8 years ago
Sree Kuchibhotla
bf18428740
Introduce grpc_completion_queue_factory API
...
Just the API and a bare-bone implementation
8 years ago
Craig Tiller
18f09a01f6
Add benchmark suite for chttp2
8 years ago
Yuxuan Li
8d00f52d5b
fix EnsureInitialMetadataSent type casting
8 years ago
Yuxuan Li
b39eeac79e
merge init_ops, writes_done_ops and write_ops
8 years ago
Craig Tiller
d216440934
Switch to no-barrier loads + full barrier cas-s to solve ABA problem
8 years ago
Mark D. Roth
fecba535d9
Switch to using a CAS loop to update the token value.
8 years ago
Craig Tiller
185f6c9e04
Fix rounding, reduce contention on global shared state
8 years ago
Craig Tiller
7b2dd93362
Track milliseconds since process start in timer heap
...
Allows reducing a lock-then-check to an atomic load and check on the
fast path of timer checks.
Reduces locks per RPC by about 5.
8 years ago
Yuxuan Li
0aac9d06e2
change last_message bit to be in C++ layer only
8 years ago
Craig Tiller
c945c12b47
Revert "Revert "Split bm_fullstack into pieces, reuse infrastructure across other microbenchmarks""
...
This reverts commit 0cb7fef406
.
8 years ago
Jan Tattermusch
0cb7fef406
Revert "Split bm_fullstack into pieces, reuse infrastructure across other microbenchmarks"
8 years ago
Yuxuan Li
bdc76ab37b
bug fix
8 years ago
Yuxuan Li
34894e4b1c
Implemented stream coalescing design
...
(RFC:https://github.com/grpc/proposal/pull/3 ). Add necessary
microbenchmarks to show reduced writes/iter for short streams. Add
necessary end2end test to test out newly added apis. Filter those tests
using *WithCoalescingApi*.
8 years ago
Craig Tiller
4751c28b0b
Add channel arguments to server builder
8 years ago
Sree Kuchibhotla
1dbd981cf8
Prefix grpc_cq_polling_type enums with GRPC_CQ_
8 years ago
Sree Kuchibhotla
9f71b17707
Fix clang formatting issues
8 years ago
Craig Tiller
5e3215338f
Move helpers to a common place, use them everywhere
8 years ago
Sree Kuchibhotla
982a6f2b1c
C++ code changes in response to grpc_completion_queue_create() API change
8 years ago
Sree Kuchibhotla
321881d07f
Change Core to use the new completion_queue_create API
8 years ago
Sree Kuchibhotla
7a4e5b427c
Completion queue creation API change (JUST API change. No functionality change)
8 years ago
Yuchen Zeng
77532e8bf3
Destroy pointer args when destructing a ChannelArguments
8 years ago
Yuchen Zeng
990d9fe146
Client-side keepalive ping
...
Based on soltanmm-google's #9114
8 years ago
yang-g
c42d844d27
Let ServerContext own the initial_metadata array for sync calls
8 years ago
Craig Tiller
7f4d30a032
Separate CAS/ADD RMWs
8 years ago
Craig Tiller
f3dec9c995
Add counters for rmw atomic operations to microbenchmarks
8 years ago
ncteisen
2c94aaeaba
Add gpr_ref_is_unique
8 years ago
yang-g
f07ed45439
Restore the NextMessageSize for streamed calls
8 years ago
Craig Tiller
6f4178878c
Add zalloc, convert a bunch of files to use it
8 years ago
yang-g
6955c5e8d2
Remove code from network_status_tracker.c Pull the hash function to useful.h
8 years ago
David Garcia Quintas
fafe995900
comments
8 years ago
David Garcia Quintas
f31f096274
Use call context to propagare LR costs
8 years ago
Dan Born
8886a81865
Expand wildcard IP addresses on servers.
8 years ago
yang-g
076bac017b
Remove async
8 years ago
yang-g
f2fe4f7dbd
Add a PreServerStart in global server callbacks
8 years ago
Harvey Tuch
5f3cfe960f
Fix read from uninitialized memory bug in GrpcBufferWriter.
...
This commit fixes an issue in which the following sequence of operations
leads to use of uninitialized memory:
1. Caller invokes GrpcBufferWriter::Next(), and then makes use of 8191
bytes in the returned buffer (which is 8192 bytes in size).
2. Caller then returns the unused single byte via
GrpcBufferWriter::BackUp(). This method invokes
g_core_codegen_interface->grpc_slice_split_tail(), which causes
backup_slice_ to be a grpc_slice with one byte.
3. At the next invocation of GrpcBufferWriter::Next(), a reference to
the single byte grpc_slice is returned to the caller.
The problem here is that the returned reference is to the inlined buffer
in the grpc_slice, which is resident in slice_, not the location of the
buffer inside slice_buffer_ after
g_core_codegen_interface->grpc_slice_buffer_add() in
GrpcBufferWriter::Next(). As a result, any data the caller writes to the
returned void* data is lost.
The solution is to avoid inlined backup slices.
8 years ago
Craig Tiller
78e6451dae
Add a hook to disable BDP probing
8 years ago
Muxi Yan
0a2fae9aed
Dynamically enable packet coalescing by channel args
8 years ago
Muxi Yan
eb5ee45eec
Revert "Dynamically enable/disable packet coalecsing and test it"
...
This reverts commit 60ab7ef00a
.
8 years ago
Mark D. Roth
e6dd773dff
Move parameters for all grpc_op types into their own sub-structs.
8 years ago
Mark D. Roth
448c1f002c
Move parameters for all grpc_op types into their own sub-structs.
8 years ago
Ken Payson
45a520f51f
Special case Python build for inet_ntop
8 years ago
Muxi Yan
60ab7ef00a
Dynamically enable/disable packet coalecsing and test it
8 years ago
Craig Tiller
7c70b6c144
Revert "Revert "Metadata handling rewrite""
...
This reverts commit 5e01e2ac97
.
8 years ago
Craig Tiller
5e01e2ac97
Revert "Metadata handling rewrite"
8 years ago
Craig Tiller
7fa7d6817e
Fix core banned functions
8 years ago