Commit f39360b
authored
Batch websocket responses using the v3 protocol (#5061)
# Description of Changes
In keeping with the "pipeline everything" approach of SpacetimeDB, this
patch serializes multiple client updates in a single websocket message
using the v3 protocol.
# API and ABI breaking changes
None. `spacetime subscribe` was updated to use the v3 websocket api, but
it falls back to v1 if protocol negotiation fails.
# Expected complexity level and risk
2
# Testing
This patch updates `spacetime subscribe` to use the v3 websocket
protocol by default in order to get adequate coverage via the
smoketests.1 parent 940667d commit f39360b
4 files changed
Lines changed: 979 additions & 241 deletions
File tree
- crates
- client-api/src/routes
- cli/src/subcommands
- core/src
- client
- worker_metrics
0 commit comments