Use YJS for sending diffs (JsonPatch replacement)

Aberta
#826 0 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
javascript, python, rust

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Python
Estrelas
8.1k
Forks
332
Métricas de merge de PRs
Nenhum PR com merge em 30d

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de reactive-python/reactpy

Todas as issues de reactive-python/reactpy

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.