Storage backed VDOM trees and hook states #1094
Labels
priority-3-low
May be resolved one any timeline.
type-feature
About new capabilities
type-refactor
About improving code structure.
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 two options a 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.
The text was updated successfully, but these errors were encountered: