Yash Tibrewal
f1914fba00
Renaming remaining filter functions
6 years ago
Mark D. Roth
51d18ecc63
Convert mpscq API from C to C++.
6 years ago
Arjun Roy
6cf05561ce
Added overloads for metadata add/remove operations when static index is known.
...
In several cases, we wish to add or remove metadata when we already know what
kind of metadata it is (e.g. we know we're dealing with the path, or the
authority, or the user agent, etc.).
In these cases, we do not need to re-compute the metadata batch callout index
since we know it a-priori. This saves us some branches and ALU ops spent
pointlessly re-computing these indices in several hot-path filters.
We do need the original methods where we do compute the indices in cases where
we're operating over a collection of metadata, but this is relatively uncommon.
6 years ago
Arjun Roy
f036d6ef58
s/gpr_ref/grpc_core::RefCount/ for frequent users.
6 years ago
Hope Casey-Allen
bd8a04a6e9
Add human-readable names for channelz sockets and listen sockets
6 years ago
Tony Lu
b82d5ecc5a
Removed space from dir name to fix clang_format_code
6 years ago
Hope Casey-Allen
6a2bec7fcd
Channelz: track listen sockets in the server node
6 years ago
Moiz Haidry
f5a3e32b9b
Take the mu_call mutex before zombifying pending calls so that there is no race between publishing new rpcs during a shutdown scenario
6 years ago
Hope Casey-Allen
225a878e9f
Track channelz server sockets in the server node
6 years ago
Hope Casey-Allen
e8b9e95fa2
Use RefCountedPtr instead of raw pointer
6 years ago
Soheil Hassas Yeganeh
7bf845aeef
Do not intern method and host for registered methods.
...
Registered methods already have a strdup() of host and method.
Since we have the copy, the strings are guaranteed to remain
valid.
6 years ago
Karthik Ravi Shankar
196b0aa3a3
Revert "Revert "Start supporting a callback-based RPC under lock""
6 years ago
Karthik Ravi Shankar
b790c24e5c
Revert "Start supporting a callback-based RPC under lock"
6 years ago
Arjun Roy
0f83755c6e
chttp2 hpack encoder: fast-pathed static md/slice ops
6 years ago
Karthik Ravi Shankar
061dfc911f
Bring back the internalization
6 years ago
Karthik Ravi Shankar
a89b1763af
changes
6 years ago
Karthik Ravi Shankar
172bb1b30f
Whitelist internal code path to use ApplicationExecCtx
6 years ago
Soheil Hassas Yeganeh
70d5e5af17
Introduce GRPC_TRACE_FLAG_ENABLED macro to mark trace branches unlikely.
...
This is a trivial change and results in better code generation,
because it marks the trace path unlikely.
The changes are all mechanical, except I did some minor edits in
two macros in call_stack.h and http to apply best practices.
6 years ago
Arjun Roy
cf9301f964
Removed some unnecessary memset operations in core.
6 years ago
yang-g
9cac231163
Inline start the tcp servers
6 years ago
Mark D. Roth
ce3ff86763
Convert call_combiner to C++.
6 years ago
SataQiu
bca4a6db2c
fix some spellings mistakes
6 years ago
Vijay Pai
8410765c0a
Eliminate an unneeded log_info
6 years ago
Vijay Pai
fab05d336c
Dynamic callback requesting, graceful server shutdown, and separate ExecCtx for callbacks
6 years ago
Vijay Pai
44402ad0a1
Make executor look more like the rest of the codebase (namespace, etc)
6 years ago
Jan Tattermusch
9c5ca8365c
Revert "Implement a lock-free fast path for queue_call_request()"
6 years ago
ncteisen
7b81ae14a7
clang tidy and clang format
7 years ago
ncteisen
b5f4b4f130
Move the unref
7 years ago
ncteisen
12192bed32
reviewer feedback
7 years ago
ncteisen
87b1c3ce56
reviewer feedback
7 years ago
ncteisen
d7c252c947
Surface socket name
7 years ago
Soheil Hassas Yeganeh
f95262b53f
Implement a lock-free fast path for queue_call_request()
...
For tiny RPCs, every single requests in almost the first item in the
list. Hence, it would try to lock the server to process pending
requests.
Instead of locking, simply set and check atomic values when there is a
possiblity of having pending requests.
This increases QPS by 10%, for the 62-channel/0B-RPC benchmark using the
callback API.
7 years ago
Soheil Hassas Yeganeh
0831996388
Remove memset from call_data from gRPC server.
...
This was missed due to an explicit memset(0) in init_call_elem.
7 years ago
Soheil Hassas Yeganeh
48e4a81b05
Remeve memset(0) from arena allocated memory.
...
Callers are updated to properly initialize the memory.
This behavior can be overridden using GRPC_ARENA_INIT_STRATEGY
environment variable.
7 years ago
ncteisen
679abd779a
Actually track listening address
7 years ago
ncteisen
08519d4472
Listen sockets track their port
7 years ago
Juanli Shen
2976ef129c
Fix OOM by expanding resource quota coverage
7 years ago
ncteisen
9b0223f1c5
Add skeleton listen socket support
7 years ago
ncteisen
c3a0a5bcb5
fix objc
7 years ago
ncteisen
e35f24da4d
reviewer feedback
7 years ago
ncteisen
8362e7042d
Undo adding new API to tranport
7 years ago
ncteisen
a139b44acc
Clenaer channelz default values
7 years ago
ncteisen
a64cb54de1
Channel trace is limited by memory
7 years ago
ncteisen
3545d754d5
Channelz get server sockets support
7 years ago
ncteisen
fd2fe1d5c4
Channelz server listening socket support
7 years ago
Yash Tibrewal
a12740f0ae
Revert the revert to server.cc
7 years ago
Yash Tibrewal
4e7ede8dd2
Set seen_recv_trailing_metadata to false
7 years ago
Yash Tibrewal
23ddadb7ca
Noob mistake
7 years ago
Yash Tibrewal
98048811a4
Reviewer comments
7 years ago
Yash Tibrewal
4009616b58
Reviewer comments
7 years ago