Skip to content

Share private-service traffic across healthy servers #1086

Closed

Description

@scotwells

Summary

Allow several instances of a private service on the same host to serve customers through one address. Spread individual UDP requests across them and keep each TCP connection with the server that accepted it.

Why it matters

Customers should benefit from redundant servers without depending on how their application retries different addresses. Existing configurations that do not enable sharing must continue to work.

Acceptance criteria

  • A service with two healthy servers on one host is accepted, and both receive traffic.
  • A server can signal that it is stopping and finish its work without causing failed requests; removing it does not disturb traffic on other servers.
  • A crashed server stops receiving new requests within the documented health-check detection time.
  • Operators can see which servers are considered healthy and when they recover.

Related work

Parent: Provide private access to services with Private Service Connect.

Original report and engineering evidence are preserved in the discussion.

Activity

  1. self-assigned this
    on Oct 25, 2026
  2. scotwells commented on Oct 29, 2026

    @scotwells
    ContributorAuthor

    The description now explains the problem and expected outcome in plain language. The original report is preserved below for the observations, diagnostics, and implementation details behind this work. It describes the situation when the issue was reported; later comments and the issue state record subsequent progress.

    Original report and engineering evidence

    Summary

    A private service endpoint can have only one producer on each node. If an endpoint selects two producers on the same node, Galactic rejects the endpoint, and consumers on that node lose the service.

    Why it matters

    Some services run two or more replicas on each node, so that a rollout or a crash doesn't interrupt consumers. Private DNS is one example. Today each replica needs its own consumer address, and each client decides how to use the addresses. Many clients send almost all requests to the first address and use the second only after a timeout. As a result, one replica does most of the work, and problems with the other replica go unnoticed. Rollouts still interrupt clients: in one measured rollout, the first address failed lookups for about 75 seconds.

    What we want

    • Consumers reach every healthy producer on their node through one address.
    • UDP requests spread across the producers. A TCP connection stays with one producer for its whole life.
    • Galactic stops sending new traffic to a producer that fails its health check, and starts again after the producer passes.
    • When a producer leaves, only its own traffic moves. Traffic on the other producers isn't affected.
    • Endpoints that don't turn this on behave as they do today.

    Acceptance criteria

    • An endpoint with two healthy producers on one node is accepted, and both producers receive traffic.
    • A producer that fails its health check before it stops causes no failed requests.
    • A producer that crashes stops receiving new traffic within the health check's detection time.
    • Operators can see which producers Galactic considers healthy.

    Related: Deliver Private DNS for Galactic VPC

  3. changed the title [-]Spread traffic across several producers of a private service on one node[/-] [+]Share private-service traffic across healthy servers[/+] on Oct 29, 2026
  4. added
    private-services
    on Nov 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

private-services

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions