Skip to content

cache: Delete benchmarks#705

Merged
olix0r merged 1 commit intomainfrom
ver/rm-cache-bench
Oct 12, 2020
Merged

cache: Delete benchmarks#705
olix0r merged 1 commit intomainfrom
ver/rm-cache-bench

Conversation

@olix0r
Copy link
Member

@olix0r olix0r commented Oct 11, 2020

The cache module has benchmarks, but they are not tested in CI and we
don't really care about results -- the cache is basically just a
HashMap. Let's just delete this unused benchmark.

The `cache` module has benchmarks, but they are not tested in CI and we
don't really care about results -- the cache is basically just a
HashMap. Let's just delete this unused benchmark.
@olix0r olix0r requested a review from a team October 11, 2020 00:18
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.

looks good to me — the build errors in rust-analyzer were getting annoying, and i think the cache implementation has gotten significantly simpler since these were written.

@olix0r olix0r merged commit 81ba3c7 into main Oct 12, 2020
@olix0r olix0r deleted the ver/rm-cache-bench branch October 12, 2020 16:55
olix0r added a commit to linkerd/linkerd2 that referenced this pull request Oct 12, 2020
This release overhauls the discovery and routing logic implemented by
the proxy: instead of looking at HTTP request metadata for service
discovery, the outbound proxy now exclusively use each connection's
target IP:PORT. This eager resolution eliminates per-request cache
binding; and supports using TrafficSplit with non-HTTP services.

This has a few side effects:

- The `l5d-dst-override` header is no longer honored.
- When the application attempts to connect to a pod IP, the proxy no
  longer load balances these requests among all pods in the service.
  The proxy will now honor session-stickiness as selected by an
  application-level load balancer.
- `TrafficSplits` are only applied when a client targets a service's IP.
- The proxy no longer performs DNS "canonicalization" to translate
  relative host header names to a fully-qualified form.

---

* Unify RequestFilter and Admit middlewares (linkerd/linkerd2-proxy#692)
* Only allow name-based profile discovery for inbound requests (linkerd/linkerd2-proxy#695)
* outbound: initial tests for TCP mTLS (with fewer moving parts) (linkerd/linkerd2-proxy#693)
* Stop honoring DESTINATION_GET_* configuration (linkerd/linkerd2-proxy#696)
* stack: add SwitchReady service (linkerd/linkerd2-proxy#694)
* telemetry: Remove trailing comma in build_info labels (linkerd/linkerd2-proxy#699)
* Update Rust to 1.47.0 (linkerd/linkerd2-proxy#701)
* cache: Delete benchmarks (linkerd/linkerd2-proxy#705)
* outbound: Discover profiles for each unique TCP target (linkerd/linkerd2-proxy#704)
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