On Tue, Oct 21, 2014 at 6:06 PM, William Stein <wst...@gmail.com> wrote: > On Tue, Oct 21, 2014 at 5:18 PM, kcrisman <kcris...@gmail.com> wrote: >>> posting to a separate interact.sagemath.org website (and actively >>> maintaining it against spam) is rather high compared to just hitting a >>> button to publish a worksheet. >> >> >> True. But there is then the barrier of having to use the cloud - which, no >> offense, is still ridiculously long to log in and use things on even in high >> bandwidth situations. It's fine for actually getting work done once you are >> in, but not for quick and low-barrier sharing of ideas. > > There's no a priori reason for SMC to load much more slowly than the > Sage cell server or sagenb -- they are loading mostly the same > Javascript libraries: mathjax, codemirror, jquery, etc. OK, SMC makes > more use of codemirror, and also has term.js. But there isn't much > difference. > > Coincidentally, I was literally just optimizing the loadtime of SMC > while also upgrading to the latest Codemirror V 4.7, e.g., by > minifying all of codemirror and its modes into one file, enabling > better nginx compression, etc. For me from my *home internet* it > now typically takes about 4 seconds to load the full page, login, and > get my list (of hundreds) of projects. And this is with no caching. > With caching enabled it's under 3 seconds. > > With caching disabled loading this published worksheet (in private > mode, so no login happens) takes under 3 seconds. > > I've attached two screenshots proving this (showing the load times, > number of requests, total data transferred, etc.).
Another issue that I recently fixed was that many of the webserver VM's were being swapped out by Linux when they weren't being actively used, so people visiting the site might randomly hit a slow VM, which would take minute or two to become fast. Over the weekend I eliminated all use of swap by everything in the SMC stack, which has removed this problem. William -- William Stein Professor of Mathematics University of Washington http://wstein.org -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at http://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.