Skip to content

docs: update sdk arch docs to include nexus.#1258

Open
cconstable wants to merge 1 commit into
mainfrom
arch-docs-nexus-update
Open

docs: update sdk arch docs to include nexus.#1258
cconstable wants to merge 1 commit into
mainfrom
arch-docs-nexus-update

Conversation

@cconstable
Copy link
Copy Markdown

No description provided.

@cconstable cconstable requested a review from a team as a code owner May 12, 2026 17:43
Comment thread arch_docs/sdks_intro.md Outdated

### Nexus

Nexus allows Temporal operations to be sent across Namespaces. Operations can be anything from starting a new workflow to updating the state of a currently running workflow. A Nexus Service is what we call the interface that abstracts sending Operations. A Nexus Service abstracts implementation details like the target Namespace and the Task Queues that the Operations run on. Like Activities, Nexus Operations get all the Temporal durable execution guarantees. Instead of interacting directly with a Nexus Service, we call a Nexus Endpoint. Nexus Endpoints are reverse proxies that take incoming Nexus Operations and map them to Nexus Services (Namespace + Task Queue). Nexus Endpoints are registered in a Nexus Registry that exposes them to your organization.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please be critical of my terminology and phrasing

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is pretty accurate, but Nexus is not necessarily for just x-namespace calling - in theory users can implement Nexus handlers that aren't really meaningfully tied to a namespace in any way other than that we do require you to define the endpoints inside some namespace.

Also a "Temporal operation" isn't quite a well-defined thing (though a "Nexus operation" certainly is). I'd say more like:

"Nexus allows you to define and invoke functionality within and across namespaces by calling Nexus Operations. Nexus Operations can be anything from starting a new workflow to updating the state of a currently running workflow, or other arbitrary user-defined functionality."

It's currently in the plans to allow you to fulfill async Nexus operations totally independently of a workflow (by invoking a callback), but that's not quite a thing that exists yet.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for clearing that up. That make sense. Updated.

Copy link
Copy Markdown
Member

@Sushisource Sushisource left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding!

Comment thread arch_docs/sdks_intro.md Outdated

### Nexus

Nexus allows Temporal operations to be sent across Namespaces. Operations can be anything from starting a new workflow to updating the state of a currently running workflow. A Nexus Service is what we call the interface that abstracts sending Operations. A Nexus Service abstracts implementation details like the target Namespace and the Task Queues that the Operations run on. Like Activities, Nexus Operations get all the Temporal durable execution guarantees. Instead of interacting directly with a Nexus Service, we call a Nexus Endpoint. Nexus Endpoints are reverse proxies that take incoming Nexus Operations and map them to Nexus Services (Namespace + Task Queue). Nexus Endpoints are registered in a Nexus Registry that exposes them to your organization.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is pretty accurate, but Nexus is not necessarily for just x-namespace calling - in theory users can implement Nexus handlers that aren't really meaningfully tied to a namespace in any way other than that we do require you to define the endpoints inside some namespace.

Also a "Temporal operation" isn't quite a well-defined thing (though a "Nexus operation" certainly is). I'd say more like:

"Nexus allows you to define and invoke functionality within and across namespaces by calling Nexus Operations. Nexus Operations can be anything from starting a new workflow to updating the state of a currently running workflow, or other arbitrary user-defined functionality."

It's currently in the plans to allow you to fulfill async Nexus operations totally independently of a workflow (by invoking a callback), but that's not quite a thing that exists yet.

@cconstable cconstable force-pushed the arch-docs-nexus-update branch 3 times, most recently from a6a959c to 53d809f Compare May 21, 2026 18:13
@cconstable cconstable force-pushed the arch-docs-nexus-update branch from 53d809f to 59da598 Compare May 22, 2026 15:21
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