Storage backed VDOM trees and hook states

Aperta
#1,094 0 commenti 1 reazione 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
python, redis
Ambito
backend, databases

Direzione di ricerca

No files, tests, or entry points are named. Start by locating where VDOM trees and hook states are stored, then investigate how Redis or database-backed state could support stateless HTTP and how state eviction would work; done requires an agreed design rather than a narrowly defined patch.

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

Descrizione

priority-3-low type-refactor
Current Situation

All VDOM and hooks are currently stored entirely in memory. The use of additional system ram for each component could potentially be a problem for scaling an application to service hundreds of thousands of users.

Proposed Actions

One of the potential solution is to allow for VDOM and hook states to be backed by Redis and/or a database. This would allow us to create a variant of ReactPy that does not require websockets, and instead operate off the stateless HTTP.

Evicting old states becomes a challenge with these designs, but is not impossible to handle.

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.