Skip to content
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

Send ingress responses directly to ingress #1215

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

tillrohrmann
Copy link
Contributor

This commit changes how ingress responses are sent to the ingress. Before, they went through the outbox. Now, they are directly sent to the ingress. This extends a bit the cases in which we cannot deliver an ingress response to the ingress but this does not matter too much since we cannot guarantee ingress response delivery in the general case.

As part of this change, this commit also removes no longer used parts of the network router and the ingress acking.

This fixes #1210.

Copy link
Contributor

@AhmedSoliman AhmedSoliman left a comment

Choose a reason for hiding this comment

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

Tears of happiness. Great Job!

crates/ingress-dispatcher/src/lib.rs Show resolved Hide resolved
crates/ingress-dispatcher/src/lib.rs Outdated Show resolved Hide resolved
crates/network/src/routing/ingress.rs Show resolved Hide resolved
crates/storage-proto/src/lib.rs Show resolved Hide resolved
crates/network/src/routing/mod.rs Outdated Show resolved Hide resolved
This commit changes how ingress responses are sent to the ingress.
Before, they went through the outbox. Now, they are directly sent
to the ingress. This extends a bit the cases in which we cannot deliver
an ingress response to the ingress but this does not matter too much
since we cannot guarantee ingress response delivery in the general
case.

As part of this change, this commit also removes no longer used parts
of the network router and the ingress acking.

This fixes restatedev#1210.
@tillrohrmann tillrohrmann merged commit 9eeaaeb into restatedev:main Feb 23, 2024
5 checks passed
@tillrohrmann tillrohrmann deleted the issues/1210 branch February 23, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Let ingress responses not go through outbox
2 participants