topscholars / tasks

0 stars 0 forks source link

Decreasing load times/increasing speed #30

Closed ghost closed 9 years ago

ghost commented 9 years ago

Now with more data on the site, we should start optimizing the performance of the system. Below are two avenues to pursue. Web socket data transfer should be limited in scope to decrease load times. Recursive functions can be refactored to increase speed.

joshuarusso commented 9 years ago

Ok - need to understand those better. But which ones do you think are the best?

Joshua Russo | Top Scholars | +66-2-714-3033 www.topscholars.orghttp://www.topscholars.org/ | @topscholarsbkkhttp://www.twitter.com/topscholarsbkk

On Dec 16, 2014, at 3:49 PM, artitw notifications@github.com<mailto:notifications@github.com> wrote:

Now with more data on the site, we should start optimizing the performance of the system. Below are two avenues to pursue. Web socket data transfer should be limited in scope to decrease load times. Recursive functions can be refactored to increase speed.

— Reply to this email directly or view it on GitHubhttps://github.com/topscholars/tasks/issues/30.

ghost commented 9 years ago

The first one is definitely more important. Currently a large chunk of the server DB is sent to the client when the website loads. Sorry, this is more of a to-do for my consideration. You can ignore the technical details.

joshuarusso commented 9 years ago

Sounds good

Joshua Russo | Top Scholars | +66-2-714-3033 www.topscholars.orghttp://www.topscholars.org/ | @topscholarsbkkhttp://www.twitter.com/topscholarsbkk

On Dec 16, 2014, at 3:59 PM, artitw notifications@github.com<mailto:notifications@github.com> wrote:

The first one is definitely more important. Currently a large chunk of the server DB is sent to the client when the website loads. Sorry, this is more of a to-do for my consideration. You can ignore the technical details.

— Reply to this email directly or view it on GitHubhttps://github.com/topscholars/tasks/issues/30#issuecomment-67129693.

ghost commented 9 years ago

Completed last week, but only on non-staff side. Website will load very fast for non-staff. Staff still subscribes to the entire database (except for security information), so if the browser cache is cleared or if a new browser is used, the initial loading time may be significant depending on connection speed.