clockworklabs / clockworklabs/SpacetimeDB

Reimplement: websocket: send/receive reducer & table ids instead of names (take 2)

オープン
#4,792 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

api-break
主要言語
Rust
スター
25.2k
フォーク
1.1k
平均マージ
2日 7時間
マージ済み PR(30日)
46

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、古い PR #1940、その議論、および centril/name-keyed-websocket-use-ids ブランチを確認し、その後、提案を現在の master と比較します。現在も関連性のある変更を新しい PR で再実装し、文書化されている API と ABI の破壊的変更を考慮したうえで、新しい実装を PR #1940 に関連付けます。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
rust
領域
api, backend-api-design
issue の種類
リファクタリング
難易度
5/5
見積もり時間
1週間以上
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。