reactpy icon indicating copy to clipboard operation
reactpy copied to clipboard

Add heartbeat messages

Open Archmonger opened this issue 10 months ago • 0 comments

Current Situation

ReactPy currently uses websockets as the primary messaging method for rendering.

This can be problematic because cloud providers (such as Azure or GCP) do not keep web workers running persistently. They are run on demand and will "randomly" restart after a certain idle timeout period, which leads to a bad experience.

Proposed Actions

Add heartbeat messages to ReactPy, which will prevent cloud workers from timing out (ref)?

Archmonger avatar Jan 27 '25 10:01 Archmonger