LearnNewsExamplesServices
Frontmatter
id8136
titleCreate guide: Worker Architecture & Messaging
stateClosed
labels
documentationenhancementai
assigneestobiu
createdAtDec 17, 2025, 3:57 AM
updatedAtDec 17, 2025, 5:31 AM
githubUrlhttps://github.com/neomjs/neo/issues/8136
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtDec 17, 2025, 5:31 AM

Create guide: Worker Architecture & Messaging

Closed v11.17.0 documentationenhancementai
tobiu
tobiu commented on Dec 17, 2025, 3:57 AM

Create a new comprehensive guide learn/guides/fundamentals/WorkerArchitecture.md that explains the multi-threaded architecture of Neo.mjs.

Scope:

  1. Worker Model: Explain the distinct roles of App, VDom, Data, and Main threads.
  2. Message Routing: Detail how Neo.worker.Manager and Neo.worker.Base orchestrate communication.
  3. Communication Patterns:
    • Standard (RPC): App -> Main -> App (e.g., Addons).
    • Triangular (VDOM): App -> VDom -> Main -> App (Optimization for DOM updates).
    • Direct (MessageChannel): App <-> Canvas (Peer-to-peer optimization).
  4. Remote Method Access (RMA): Explain the "magic" behind the proxy methods, promises, and error handling across threads.
  5. Use Cases: Provide examples of when each pattern is used and why.

Update learn/tree.json: Add the new guide entry to the guides/fundamentals section.

tobiu added the documentation label on Dec 17, 2025, 3:57 AM
tobiu added the enhancement label on Dec 17, 2025, 3:57 AM
tobiu added the ai label on Dec 17, 2025, 3:57 AM
tobiu assigned to @tobiu on Dec 17, 2025, 3:57 AM
tobiu referenced in commit 3c43954 - "Create guide: Worker Architecture & Messaging (#8136)" on Dec 17, 2025, 5:29 AM
tobiu closed this issue on Dec 17, 2025, 5:31 AM