-
Notifications
You must be signed in to change notification settings - Fork 3
Errors when the network is super slow #136
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
Comments
@jdanish A few questions:
#132 did point us at a few issues where asynchronous loads was biting us in the ass. That explains the intermittent nature of the problem. I wouldn't be surprised if there's another issue similar to that. We just need to be able to reproduce it to know where to look. |
OK I just hit the page, and it looks like netc-lib is not compressed, so perhaps it's running an earlier commit? Also, I'm curious if running this with #132 issue fix will help? This looks like a similar issue. |
Which page? I am at http://134.209.73.52/graph/H213FA2020Prokopios/#/ And netc is 1 mb and change (compressed) |
I swear it crashed at least once (and I got that photo) but of course now it is no-longer crashing. But it seems to take as long as a minute to load the graph even after transferring netc, so it is quite possible students are just giving up? |
I'm at http://134.209.73.52/graph/H213FA2020Prokopios/#/ We might have to do some auditing to see what the script is doing. Is this related to the size of the graph? Or do they have similar issues with smaller graphs? |
The server only has 2 open graphs (you can check - default password is still set for testing).
On my machine I’ve closed all of the other graphs.
Joshua
|
I don't know that the students ever saw a smaller graph in this class. I have a much smaller graph in my class (CHAT: http://134.209.73.52/graph/CHAT/#/) and have had no problems for me or reported, but with only 8 grad students ... not sure what if anything that might mean. |
Here is the database for the large file |
@jdanish It seems that I am unable to reproduce the error with the current server even with "Low-end mobile" throttling. I did do some local testing with throttling and there are a few things we can improve. There are basically two main factors affecting the page load: 1) network load time, and 2) script performance running/rendering time. By far the biggest delay is the load time for the page. Even with GZIP compression on, with throttling on (emulating low-end 3G), it takes about 42 seconds to load and render the page. Of that, about 32 seconds is simply loading all of the file assets over the network, and about 10 seconds is script running/rendering time. The biggest culprit is I tried a few quick optimization strategies:
RecommendationsGiven that, it sounds like there are some quick and simple things we can do:
Other things to look into
It's worth noting that the GZipped version has not been tested with students yet, so some of these problems may have already been addressed. What do you think? Should we pursue some simple fixes? |
Awesome. Yeah why don’t we start with removing font awesome, a loading image, and not rendering the tables until we need them? I believe font awesome was added for the i and ? Icons so am sure those could instead come from google or something else? |
Implemented with #129. |
If I run with chrome set to simulate a slow phone connection I get a blank screen on the load about 1/2 of the time (almost always if I multi-task to a different window while it is loading). Occasionally there is an error displayed, but otherwise we see the attached blank screen. Not sure if this is related to the other issue I reported.


The text was updated successfully, but these errors were encountered: