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

Allow SDKs to support connecting to multiple endpoints for Multi-region Namespaces #538

Open
atihkin opened this issue Sep 13, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@atihkin
Copy link

atihkin commented Sep 13, 2024

Is your feature request related to a problem? Please describe.

Temporal Cloud customers (specifically those with more complicated network setups using Private Connectivity) encounter issues due to misconfigured Workers when a Namspace is failed over to a standby region in the event of an incident. To improve this user experience, we should consider switching to a per region end point and change our SDKs to natively handle failovers (instead of relying on manual user setup).

Describe the solution you'd like

There are three requirements in this task:

  1. Allow SDK to be able to connect to multiple endpoints for a namespace. Typical use case is region specific endpoints for MRN, and different endpoints for on-prem to cloud migration.
  2. SDK should send requests to the “active“ endpoint based on the ns info it gets from Temporal server.
  3. SDK should health check both endpoints to prevent connection errors post namespace failover.

Per-SDK Tickets

TBA

@atihkin atihkin added the enhancement New feature or request label Sep 13, 2024
@atihkin atihkin changed the title Allow SDK to support connecting to multiple endpoints for Multi-region Namespaces Allow SDKs to support connecting to multiple endpoints for Multi-region Namespaces Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant