-
Notifications
You must be signed in to change notification settings - Fork 26
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
slow loading time to view forms w lots of submissions #89
Comments
Yes, it makes sense it gets slow at that point. Implementing pagination will resolve that. |
Have you tried it with @ahmedOpeyemi JSON Stream work? |
Another possible bottleneck is the file system. Many file systems' performance degrades when a directory has a certain number of files. The solution is simple: break up the submissions into more directories. I've seen Who's on First, NGINX cache directories, Flickr, and others to have done this. I'd have to get the data and do some profiling to determine what is contributing to your problem. Most likely pagination will resolve it. |
So, this is one of the issues #85 aimed to resolve at the server end. We had about 8500+ submissions and this issue here #78 was occurring at the server end. |
Flattening? You're saying that it's just too much for one table in a browser to handle? |
@hallahan
|
Oh right. We do need to "flatten" the JSON so that it works in table form. |
After spending some time examining this problem with a large dataset of 33,578 submissions, I'm seeing the slowness of the submissions page from two things:
Ideally we would have pagination in the REST api that would give back separate responses for smaller chunks of the JSON from the server. The nice table we see with the search and sort functionality, however, would have to be thrown away and be replaced. Right now, the CSV download and text area are done in the browser, which is slow. The next step is to create a I think with what we have right now, we should just create this Then, we can later implement pagination. |
when a form has a large number of submissions. it takes a very long time to load, even with a decent internet connection. slow connection makes it almost impossible. 3,694 submissions with the buildings form is an example. maybe it can load only 100 and then have option to load the rest. this is an issue with cloud-hosted instances of omk server.
The text was updated successfully, but these errors were encountered: