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

router: Use NewService instead of MakeService #724

Merged
merged 2 commits into from
Oct 22, 2020
Merged

router: Use NewService instead of MakeService #724

merged 2 commits into from
Oct 22, 2020

Conversation

olix0r
Copy link
Member

@olix0r olix0r commented Oct 22, 2020

There's no reason for NewRouter to operate over MakeService. This
changes NewRouter to build the inner service synchronously, avoiding
the need for a ResponseFuture that joins MakeService and the inner
response future.

There's no reason for `NewRouter` to operate over `MakeService`. This
changes `NewRouter` to build the inner service synchronously, avoiding
the need for a `ResponseFuture` that joins `MakeService` and the inner
response future.
@olix0r olix0r requested a review from a team October 22, 2020 02:17
Copy link
Contributor

@hawkw hawkw left a comment

Choose a reason for hiding this comment

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

💕

@olix0r olix0r merged commit 12e29f0 into main Oct 22, 2020
@olix0r olix0r deleted the ver/router-new branch October 22, 2020 02:34
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Oct 26, 2020
This release adds an 'ingress mode' to support per-request routing for
HTTP ingresses.

Additionally, the performance impact of logging should be reduced when
the proxy log level is not set to `debug` or `trace`.

---

* router: Use NewService instead of MakeService (linkerd/linkerd2-proxy#724)
* outbound: Split TCP stack into dedicated modules (linkerd/linkerd2-proxy#725)
* trace: update `tracing-subscriber` to 0.2.14 (linkerd/linkerd2-proxy#726)
* outbound: Extract HTTP and server modules (linkerd/linkerd2-proxy#727)
* outbound: Introduce 'ingress mode' (linkerd/linkerd2-proxy#728)
* Reduce tracing spans to the debug level (linkerd/linkerd2-proxy#730)
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Oct 26, 2020
This release adds an 'ingress mode' to support per-request routing for
HTTP ingresses.

Additionally, the performance impact of logging should be reduced,
especially when the proxy log level is not set to `debug` or `trace`.

---

* router: Use NewService instead of MakeService (linkerd/linkerd2-proxy#724)
* outbound: Split TCP stack into dedicated modules (linkerd/linkerd2-proxy#725)
* trace: update `tracing-subscriber` to 0.2.14 (linkerd/linkerd2-proxy#726)
* outbound: Extract HTTP and server modules (linkerd/linkerd2-proxy#727)
* outbound: Introduce 'ingress mode' (linkerd/linkerd2-proxy#728)
* Reduce tracing spans to the debug level (linkerd/linkerd2-proxy#730)
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.

2 participants