Jump to content
SubSpace Forum Network

Recommended Posts

Posted

I have noticed recently, that the quotes database is abnormally slow, sometimes taking up to a minute to load any quotes page (latest, random, etc.)

I thought this had to do with the move over to hosting FC and SSDL on the same server, but i thought it would have worked itself out by now.

Just wanted to let you guys know, cause before the move, it went a lot faster.

Posted
Yeah, for about the past two months or so, when I click on "Latest" it takes forever. I usually open it in a new tab and continue browsing the internet until it finishes.
Posted
Was working fine even after it. Was only in past few days it began acting up, cause was fine a week ago.
Polix, it's been happening way longer than you think.
Agreed.
Posted

Well someone fix it? smile.gif

 

Hopefully it's not polling all the quotes for each page, then selecting all the votes and then limiting the number needed to display on the page. Shouldn't be too hard to figure out how bad the queries are if the script was written properly.

Posted
Seems to be fixed.

 

Thanks, whoever.

The problem was caused by the new system that hides the voting links for quotes you've already voted for. I just got back from holiday yesterday so I've not had time to do a proper fix, for now I've just made the links show for all the quotes.

 

I did notice that the quote lists were loading somewhat slowly after the change though, so I made a few other changes, including:

  • I've changed the number of quotes per page to 25, down from 50.
  • I'm experimenting with moving the name highlighting to javascript. This has drasticallly reduced page sizes but you won't see any highlighting until the page has fully loaded.

I'll try to get a proper fix for the voting links done later this week, as well as a few other things. As always, comments/suggestions welcome.

Guest
This topic is now closed to further replies.
×
×
  • Create New...