Skip to content

Conversation

pzhan9
Copy link
Contributor

@pzhan9 pzhan9 commented Oct 14, 2025

Differential Revision: D84636054

Summary:

In v0, there are 4 ports are "frontend" ports, which would be accessed by other hosts:

* on the client host,
    * alloc serve port
    * proc mesh' router port.
* on the worker host,
   * allocator serve port
    * forwarder port

We want these port's `ChannelAddr`s to use consistent IP addresses, i.e.

* on the client host, router port should use the same IP address as alloc serve port
* on the worker host, forwarder port should use the same IP address as allocator serve port, which was known to client host.

This is important because otherwise the IP address will be generated through `channel::any`, which would get the private IP address. In some environments, e.g. in aws, we could have:

* client host and worker host are on different subnets, and they can only talk to each other through the public address.

Using the same IP address consistently would make it easy to guarantee the correct address type is used throughout the hosts.

Differential Revision: D84614744
Differential Revision: D84633997
@meta-cla meta-cla bot added the CLA Signed This label is managed by the Meta Open Source bot. label Oct 14, 2025
Copy link

meta-codesync bot commented Oct 14, 2025

@pzhan9 has exported this pull request. If you are a Meta employee, you can view the originating Diff in D84636054.

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

Labels

CLA Signed This label is managed by the Meta Open Source bot. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant