diff options
author | Soheil Hassas Yeganeh <soheil@google.com> | 2018-12-04 23:09:03 -0500 |
---|---|---|
committer | Soheil Hassas Yeganeh <soheil@google.com> | 2018-12-05 23:33:36 -0500 |
commit | f95262b53fe19cecf760457763ac6938be459835 (patch) | |
tree | cf511cb1426ad219cc6650b7c54b41b9e6e279d2 /src/core/lib/slice | |
parent | 8998dfcb7a184f614a8a145b63f3325908c85a90 (diff) |
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.
Diffstat (limited to 'src/core/lib/slice')
0 files changed, 0 insertions, 0 deletions