clockworklabs / clockworklabs/SpacetimeDB
Reimplement: websocket: send/receive reducer & table ids instead of names (take 2)
Nessuno ha ancora preso questa issue.
- Lingua principale
- Rust
- Stelle
- 25.2k
- Fork
- 1.1k
- Merge medio
- 2g 7h
- PR unite (30g)
- 46
Descrizione
This issue tracks reimplementation of the work from stale PR #1940, which is being closed because it is too out of date to merge directly.
Original PR: https://github.com/clockworklabs/SpacetimeDB/pull/1940
Original author: @Centril
Original branch: `centril/name-keyed-websocket-use-ids`
Base branch: `master`
## Original PR summary
# Description of Changes
Receive and send reducer ids and table ids as opposed to names in the SDK.
Alternative to https://github.com/clockworklabs/SpacetimeDB/pull/1883 which is more efficient, but also uses indices internally rather than strings, making the diff larger.
API and ABI breaking changes
Yes.
## Follow-up
- Reimplement this change in a fresh PR against current `master`.
- Carry forward any still-relevant context from the original PR discussion and review.
- Link the new implementation PR back to the original stale PR for historical context.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando il PR #1940 obsoleto, la relativa discussione e il branch centril/name-keyed-websocket-use-ids, quindi confronta la proposta con il master attuale. Reimplementa la modifica ancora rilevante in un nuovo PR, tieni conto della rottura documentata di API e ABI e collega la nuova implementazione al PR #1940.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- rust
- Ambito
- api, backend-api-design
- Tipo di issue
- Refactoring
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100