Skip to content

[k2] rpc client API - #1635

Merged
T-y-c-o-o-n merged 63 commits into
masterfrom
n.siniachenko/k2/rpc-client-boost
Aug 18, 2026
Merged

[k2] rpc client API#1635
T-y-c-o-o-n merged 63 commits into
masterfrom
n.siniachenko/k2/rpc-client-boost

Conversation

@T-y-c-o-o-n

@T-y-c-o-o-n T-y-c-o-o-n commented Jun 15, 2026

Copy link
Copy Markdown
Contributor
  • added functions for rpc client API in k2 header: k2_rpc_send_request, k2_rpc_get_response_size, k2_rpc_fetch_response.
  • added new K2 descriptor type: rpc-query. k2_stream_status accepts this descriptor. k2_take_update returns update on this descriptor.
  • built-in functions f$rpc_send_requests and f$rpc_send_typed_query_requests uses new rpc client API instead of streams.

@T-y-c-o-o-n
T-y-c-o-o-n force-pushed the n.siniachenko/k2/rpc-client-boost branch from 156e9ec to 222adae Compare June 15, 2026 11:57
Comment thread runtime-light/stdlib/rpc/rpc-api.cpp
Comment thread runtime-light/stdlib/rpc/rpc-queue-functions.h Outdated
Comment thread builtin-functions/kphp-light/stdlib/rpc.txt Outdated
Comment thread runtime-light/k2-platform/k2-header.h Outdated
Comment thread runtime-light/k2-platform/k2-header.h Outdated
Comment thread runtime-light/k2-platform/k2-header.h Outdated
Comment thread runtime-light/k2-platform/k2-header.h
Comment thread runtime-light/k2-platform/k2-header.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-api.cpp Outdated
Comment thread runtime-light/stdlib/rpc/rpc-api.cpp Outdated
Comment thread runtime-light/stdlib/rpc/rpc-api.cpp Outdated
Comment thread runtime-light/stdlib/rpc/rpc-api.cpp Outdated
@T-y-c-o-o-n
T-y-c-o-o-n force-pushed the n.siniachenko/k2/rpc-client-boost branch from a342aa9 to e77636c Compare June 21, 2026 19:19
Comment thread runtime-light/k2-platform/k2-header.h Outdated
Comment thread runtime-light/k2-platform/k2-api.h Outdated
Comment thread runtime-light/stdlib/time/util.h Outdated
@T-y-c-o-o-n
T-y-c-o-o-n force-pushed the n.siniachenko/k2/rpc-client-boost branch 2 times, most recently from 0c1f4cc to 44d348e Compare July 17, 2026 13:14
Comment thread runtime-light/k2-platform/k2-header.h Outdated
Comment thread runtime-light/k2-platform/k2-api.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-client-state.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-client-state.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query.h
Comment thread runtime-light/stdlib/rpc/rpc-query-handle.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query-handle.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query-handle.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-queue-functions.h Outdated
Comment thread runtime-light/stdlib/time/time-functions.h Outdated
@T-y-c-o-o-n T-y-c-o-o-n changed the title [k2] rpc client boost [k2] rpc client API Jul 22, 2026
Comment thread runtime-light/stdlib/rpc/rpc-query-handle.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query-handle.h Outdated
@T-y-c-o-o-n
T-y-c-o-o-n force-pushed the n.siniachenko/k2/rpc-client-boost branch from df743db to 6435238 Compare July 24, 2026 15:48
Comment thread runtime-light/k2-platform/k2-api.h Outdated
Comment thread runtime-light/k2-platform/k2-header.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-client-state.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query.h Outdated
Comment thread runtime-light/stdlib/time/time-functions.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-api.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-query.h Outdated
Comment thread runtime-light/stdlib/rpc/rpc-api.cpp
Comment thread runtime-light/stdlib/rpc/rpc-api.cpp Outdated
Comment thread runtime-light/stdlib/rpc/rpc-api.cpp Outdated
Comment thread runtime-light/stdlib/rpc/rpc-api.cpp Outdated
Comment thread runtime-light/stdlib/rpc/rpc-api.cpp Outdated
@T-y-c-o-o-n
T-y-c-o-o-n force-pushed the n.siniachenko/k2/rpc-client-boost branch 2 times, most recently from 79a0375 to b677309 Compare August 6, 2026 14:34
@T-y-c-o-o-n
T-y-c-o-o-n force-pushed the n.siniachenko/k2/rpc-client-boost branch from 81d4cb0 to f051320 Compare August 11, 2026 17:36
apolyakov
apolyakov previously approved these changes Aug 13, 2026

@apolyakov apolyakov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@apolyakov apolyakov added runtime Feature related to runtime k2 Affects compiler or runtime in K2 mode labels Aug 13, 2026
@apolyakov apolyakov added this to the next milestone Aug 13, 2026
@T-y-c-o-o-n
T-y-c-o-o-n merged commit eeba69e into master Aug 18, 2026
8 checks passed
@T-y-c-o-o-n
T-y-c-o-o-n deleted the n.siniachenko/k2/rpc-client-boost branch August 18, 2026 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

k2 Affects compiler or runtime in K2 mode runtime Feature related to runtime

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants