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

How can a React client app throttle itself? #6

Open
joshbeckman opened this issue Nov 22, 2017 · 3 comments
Open

How can a React client app throttle itself? #6

joshbeckman opened this issue Nov 22, 2017 · 3 comments

Comments

@joshbeckman
Copy link
Member

The React client app(s) now make many, many (concurrent) API requests and heavy DOM manipulation. How can we write a solution that allows a React app to throttle itself when heavily operating or when the APIs degrade?

What should it monitor about itself? Frame rate, event delays, etc? How?

What should it monitor about the APIs it calls? Delay? How?

Could this be accomplished with a generalized Redux middleware?

@joshbeckman
Copy link
Member Author

Maybe a throttling, monitoring Redux middleware: https://redux.js.org/docs/advanced/Middleware.html#seven-examples

@joshbeckman
Copy link
Member Author

Examples of throttling and monitoring in server request loads: https://ferd.ca/handling-overload.html

@joshbeckman
Copy link
Member Author

Monitoring client-side JS performance: https://github.com/mrdoob/stats.js/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant