Use YJS for sending diffs (JsonPatch replacement)

Aperta
#826 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
javascript, python, rust

Direzione di ricerca

Start by reviewing the JsonPatch diffing change in pull request #809, then read the YJS, y-crdt/ypy, and ypy-websocket references linked in the issue. The work is done when the current diff-sending approach is replaced with YJS and the Python and ASGI websocket integration is validated.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

priority-3-low release-patch type-revision
Current Situation

Currently, we've turned off diffing with JsonPatch due to bugs in the Python implementation.

Proposed Actions

While what we're doing now seems to work fine. We could replace JsonPatch with YJS since the YJS protocol has a Python implementation and an ASGI compliant websocket connector. Since the Python implementation ultimately wraps a Rust binary, this would likely be many times faster than JsonPatch, being implemented in pure Python, ever could have been.

Lingua principale
Python
Stelle
8.1k
Fork
332
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di reactive-python/reactpy

Tutte le issue di reactive-python/reactpy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.