Skip to content

Fastly backend factory #83

Closed
Closed

Description

@aram356

Description

The original task is implemented: Fastly creates runtime backends through Backend::builder and reuses a backend name derived from scheme, host and port. Fastly backend construction contains both behaviors and the send path uses its returned name. Configurable TLS/timeouts remain separately tracked by #81 and #82.

Steps to reproduce

  1. Inspect ensure_backend in the pinned main source.
  2. Follow its derived backend name into Backend::builder and its existing-name reuse branch.
  3. Inspect FastlyProxyClient::send, which calls ensure_backend for the target URI.

Expected behavior

Fastly can construct and reuse a dynamic backend through its SDK builder.

Impact

This capability already supports runtime-origin proxying; keeping the fulfilled task open obscures the remaining configuration work.

Proposed fix

Close as completed based on the implementation on main. No new implementation is needed for the original builder/name-deduplication scope.

Done when

  • Runtime backend construction uses Backend::builder.
  • Derived names and existing-name reuse are implemented in the proxy path.

Related

Parent #79; deduplication #86; remaining options #81, #82. PR #9 introduces the SDK builder and PR #35 implements readable names and explicit reuse. PR #275 is subsequent related work, not required to close this original task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions