Posts with Tag: sql fun
by gekido on Aug.27, 2009, under Unofficial GameCore Blog
So we’ve been working a LOT on the GameCore docs as of late, making good progress, but the more of us that end up working on the docs, the slower the site has been. Which considering there’s only a couple of us was somewhat disturbing.
Turns out that we had been using a malfunctioning so-called ‘ajax’ menu drupal module for the left-hand book navigation. Basically for every-single page view of the docs site, the module would compile a list of literally every single element of every one of the books that we had in the documentation.
Our SQL server was basically having a fit because it was being hammered with queries — to give you an idea of what exactly the output of this was: the single html line containing the book navigation was upwards of 197 THOUSAND characters wide.
LOL
So, needless to say, we disabled that module, and hey look at that, server load went down to, oh basically nothing as a result.
The good news? Well, the GameCore docs site is much faster now, and all of the sites (including this one) that are on the server (ones that access the sql server, which is most of them) should be much snappier as well.
Great fun.

