This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
feat(sync-call): [IC-1666] Endpoint for synchronous call requests #265
Merged
Conversation
This file contains 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
DSharifi
changed the title
draft: Sync update call
Endpoint for synchronous update calls
Jan 11, 2024
DSharifi
changed the title
Endpoint for synchronous update calls
feat(sync-call): [IC-1666] Endpoint for synchronous call requests
Jan 11, 2024
DSharifi
requested review from
mraszyk,
tthebst,
Dfinity-Bjoern,
sesi200 and
alin-at-dfinity
January 11, 2024 16:50
mraszyk
reviewed
Jan 11, 2024
mraszyk
reviewed
Jan 11, 2024
mraszyk
reviewed
Jan 11, 2024
mraszyk
reviewed
Jan 11, 2024
mraszyk
reviewed
Jan 11, 2024
mraszyk
reviewed
Jan 11, 2024
mraszyk
reviewed
Jan 11, 2024
Co-authored-by: mraszyk <31483726+mraszyk@users.noreply.github.com>
DSharifi
commented
Apr 18, 2024
mraszyk
reviewed
Apr 22, 2024
mraszyk
reviewed
Apr 22, 2024
mraszyk
reviewed
Apr 22, 2024
mraszyk
reviewed
Apr 22, 2024
mraszyk
reviewed
Apr 22, 2024
mraszyk
reviewed
Apr 22, 2024
mraszyk
reviewed
Apr 22, 2024
mraszyk
reviewed
Apr 22, 2024
mraszyk
reviewed
Apr 22, 2024
mraszyk
reviewed
Apr 22, 2024
Co-authored-by: mraszyk <31483726+mraszyk@users.noreply.github.com>
mraszyk
reviewed
Aug 12, 2024
4 tasks
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
As part of IC-1666 the proposal introduces a new HTTPS endpoint for synchronous update calls, or "call and await", where users can send call requests to the replica and get the response back in the same request. This differs from the current call approach where users have to continuously poll the status of a call request to get the response.
Adding a synchronous endpoint for update calls will significantly decrease the end-to-end (client-observed) latency for update calls. An initial prototype shows that the client-observed latency can be reduced by a minimum of 1 second which is ~40% improvement.