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

incrementally load steps #14

Open
jtoy opened this issue Feb 23, 2024 · 0 comments
Open

incrementally load steps #14

jtoy opened this issue Feb 23, 2024 · 0 comments

Comments

@jtoy
Copy link
Owner

jtoy commented Feb 23, 2024

Right now for the web ui, when you pass a simulation id, it loads all steps from the backend service which can be redis/api end point.
Instead use a variable called steps_per_call and set to 50. It loads chunks of steps_per_call at a time, so as to give a smaller chunk of data from the server at a time. This will allow the service to load much faster. This should work on local redis mode and in api mode.
current loader is web/src/components/RenderLevel.tsx

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

No branches or pull requests

1 participant