Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add heartbeat messages #1259

Open
Archmonger opened this issue Jan 27, 2025 · 0 comments
Open

Add heartbeat messages #1259

Archmonger opened this issue Jan 27, 2025 · 0 comments
Labels
priority-2-moderate Should be resolved on a reasonable timeline.

Comments

@Archmonger
Copy link
Contributor

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-2-moderate Should be resolved on a reasonable timeline.
Projects
None yet
Development

No branches or pull requests

1 participant