This commit is contained in:
commit
bd774932d5
614 files changed
+77116
No files matched your search
@@ -0,0 +1,17 @@
|
||||
# ADR 0006 — REST plus WebSocket
|
||||
|
||||
**Status:** Accepted baseline
|
||||
|
||||
## Decision
|
||||
|
||||
Use versioned REST for requests/configuration/history and one authenticated WebSocket per browser session for bounded live updates.
|
||||
|
||||
## Rationale
|
||||
|
||||
REST is clear for CRUD/query operations. WebSocket supports low-latency subscriptions and server-side coalescing without repeated polling of full datasets.
|
||||
|
||||
## Consequences
|
||||
|
||||
- Messages use explicit schema/version/sequence.
|
||||
- Reconnect and resync are required.
|
||||
- Subscription, rate, size and buffer limits are mandatory.
|
||||
Reference in new issue
Block a user