MindAttic.Relay: Difference between revisions
Appearance
md2wiki: sync from MindAttic.Docs |
md2wiki: sync from MindAttic.Docs |
||
| Line 40: | Line 40: | ||
* [[MindAttic.Relay/RELEASE|MindAttic.Relay — Release charter]] — A local message exchange (NATS + JetStream run as a Windows service) plus one contracts package and one client library, so MindAttic… | * [[MindAttic.Relay/RELEASE|MindAttic.Relay — Release charter]] — A local message exchange (NATS + JetStream run as a Windows service) plus one contracts package and one client library, so MindAttic… | ||
<div class="md2wiki-source">From [https://github.com/mindattic/MindAttic.Relay/blob/main/ | <div class="md2wiki-source">From [https://github.com/mindattic/MindAttic.Relay/blob/main/docs/overview.md MindAttic.Relay/docs/overview.md] via MindAttic.Docs; synced automatically, so edit the repo, not this page.</div> | ||
[[Category:MindAttic.Relay]] | [[Category:MindAttic.Relay]] | ||
Revision as of 22:22, 29 November 2026
MindAttic.Relay
The message exchange for every MindAttic app, on one machine or across many.
Relay runs a NATS server with JetStream in the background on each machine. Apps send and receive messages through one client library and one set of shared message definitions, instead of named pipes, shared-database polling or one-off sockets. Machines join each other by dialling out to a hub, so nobody opens an inbound port.
Status: design accepted, nothing built yet. Read docs/design/relay.md for the architecture, and docs/USER_STORIES.md (generated from the ticket database, code M.RLY) for the work queue.
Planned pieces
| Package / tool | What it is |
|---|---|
| Relay server | NATS + JetStream, installed and run as a Windows service |
MindAttic.Relay.Contracts
|
Protocol Buffers definitions of every message, with generated C# types |
MindAttic.Relay.Client
|
The one client every app uses: publish, subscribe, request/reply, key-value state |
MindAttic.Relay.Outbox
|
Saves a database change and its message together, then sends the message |
relay CLI
|
Install, status, credentials, tail a subject, dead letters |
First users
- Orchestrator.Desktop and Tickets.Desktop (today's AppBus over named pipes).
- KdpPublish announcing a published book and its ASIN.
- The hub-and-spoke epic: members' machines joined into one Orchestrator.
Pages in this repository
- MindAttic.Relay — Project Bible — Relay is the one way MindAttic apps send each other messages: a local NATS + JetStream server, one contracts package and one client library.
- design/relay — Status: accepted direction (owner, 2026-10-27), nothing built yet. Ticket M.RLY-T1.
- MindAttic.Relay — Release charter — A local message exchange (NATS + JetStream run as a Windows service) plus one contracts package and one client library, so MindAttic…
From MindAttic.Relay/docs/overview.md via MindAttic.Docs; synced automatically, so edit the repo, not this page.