-
Notifications
You must be signed in to change notification settings - Fork 114
[k2] rpc client API #1635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
T-y-c-o-o-n
wants to merge
45
commits into
master
Choose a base branch
from
n.siniachenko/k2/rpc-client-boost
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
[k2] rpc client API #1635
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
bf39efd
first impl
9daec6b
added kphp rpc client bench
cbdbae8
break in switch + different debug exit codes
b68b51b
null timeout in bench
7cbcb7c
rpc send functions now common functions instead of coroutines
c609910
remove one coroutine on rpc response fetch
19e0065
removed test trash
1d38897
error handling
4f8b439
rpc_queue_push
31555bf
kphp::rpc::request_info
2340e15
fmt
dbc67fd
added RpcKind + better docs
d5353ae
query_handle
0f1c8e2
send_and_get_handle
896ba9c
refactored query_handle a bit
496db0f
refactorrr
f219b9e
k2_rpc_get_response_size() and k2_rpc_fetch_response() now return `EA…
68e2711
[EXPERIMENTAL] removed ignore_answer_coroutine
1dad070
regularize_extra_headers
0ca689d
added query_handle::wait_for_response
5d0f66b
fixed zeroing query_handle in rpc_queue_push(..)
44c20e3
insert ignore_answer requests to rpc_query_handles
fd9c00a
issues
cc232f0
fmt
5c6e40d
fmt
e21663b
refactored kphp::rpc::query_handle
222c87b
removed rpc-query-handle.cpp
e812bfe
fixed nullptr request_buffer, fixed <=0 timeout handling, error becam…
f2a9369
query_handle: response type now std::span<std::byte>
a70b830
time utils fixes
4576a4a
fmt
99d7de1
fmt
89b6bc6
query_handle -> query; removed error description for query::get_respo…
91ab571
kphp::rpc::query::get_ready_response() takes templated response_alloc…
0788026
TODO
f957b0b
ResponseAllocator and ResponseDeleter
0adcd48
ResponseBufferProvider; removed query::wait_for_response; returned re…
47f98cb
request_buffer is allocated for requests more than `StringLibContext:…
fcf22b8
fmt
6435238
fmt
d0c69df
fmt
bb2047b
k2_rpc_fetch_response may return `ENOBUFS`
e6ca343
fixed issues
f7936b0
better docs
1c02dca
removed extra includes and comments
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.