-
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
88506ca
first impl
685f761
added kphp rpc client bench
b23ffce
break in switch + different debug exit codes
cd291fe
null timeout in bench
3d42f85
rpc send functions now common functions instead of coroutines
c3ea75e
remove one coroutine on rpc response fetch
2f106c3
removed test trash
2545767
error handling
6d8a1db
rpc_queue_push
9d874b3
kphp::rpc::request_info
e683f67
fmt
b7c58ad
added RpcKind + better docs
fbccc22
query_handle
2c85b3b
send_and_get_handle
1a27c1f
refactored query_handle a bit
077f55b
refactorrr
e235c6a
k2_rpc_get_response_size() and k2_rpc_fetch_response() now return `EA…
05a12bb
[EXPERIMENTAL] removed ignore_answer_coroutine
c5cd6d8
regularize_extra_headers
221d72b
added query_handle::wait_for_response
e33d1d3
fixed zeroing query_handle in rpc_queue_push(..)
1c87c96
insert ignore_answer requests to rpc_query_handles
a3580a6
issues
9871fac
fmt
ffa0464
fmt
4912295
refactored kphp::rpc::query_handle
eb0eef1
removed rpc-query-handle.cpp
3ff1941
fixed nullptr request_buffer, fixed <=0 timeout handling, error becam…
9d68e3b
query_handle: response type now std::span<std::byte>
5d024c6
time utils fixes
454d823
fmt
bd1beee
fmt
c28df22
query_handle -> query; removed error description for query::get_respo…
e8b1ed5
kphp::rpc::query::get_ready_response() takes templated response_alloc…
e2a6054
TODO
c320547
ResponseAllocator and ResponseDeleter
da35b34
ResponseBufferProvider; removed query::wait_for_response; returned re…
b54ba6f
request_buffer is allocated for requests more than `StringLibContext:…
42e39b4
fmt
675aa94
fmt
8bc0fb6
fmt
bcbf91b
k2_rpc_fetch_response may return `ENOBUFS`
48494f2
fixed issues
861a27c
better docs
79a0375
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.
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.