Storage backed VDOM trees and hook states

Đang mở
#1,094 0 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python, redis
Lĩnh vực
backend, databases

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
8.1k
Fork
332
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của reactive-python/reactpy

Tất cả issue của reactive-python/reactpy

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.