leader board not updating

General discussions about the website's layout and functionality
Post Reply
desert dawg
Benefactor
Posts: 136
Joined: January 18th, 2012, 8:42 am

leader board not updating

Post by desert dawg »

Its been a couple days since the stats have updated :?:
User avatar
Corfman Clan
Global Moderator
Posts: 914
Joined: January 17th, 2012, 12:21 am

Re: leader board not updating

Post by Corfman Clan »

Thanks for bringing this to my attention. I have reset things and hopefully the stats will update properly now.
Image
User avatar
Corfman Clan
Global Moderator
Posts: 914
Joined: January 17th, 2012, 12:21 am

Re: leader board not updating

Post by Corfman Clan »

Well that didn't work. I'll need to take a closer look to figure out what's going wrong. :(
Image
User avatar
Corfman Clan
Global Moderator
Posts: 914
Joined: January 17th, 2012, 12:21 am

Re: leader board not updating

Post by Corfman Clan »

I have figured out why the site isn't updating. Basically early on, there's a step where all the geocache/region pairs are verified as correct. These are used extensively while processing the leaderboards, etc. Every geocache is in at least two regions and most are in four (LonelyCache wide, state, county, DGP region). For some reason, the time to process that step increased dramatically from under one minute to over many minutes. I had written the SQL query to perform the step very poorly and with the number of geocaches in LonelyCache increasing, things finally collapsed. I look at it now and wonder what the heck I was thinking.

I have rewritten the query and on my tests, it now runs in a second or two. The problem now is that I am unsure when I will be able to update the site with the fix. I have some other changes that are incomplete that I need to manage somehow before I can package the update. I'm going out of town Friday through Sunday and will not be able to tackle this until my return.

Regards,
Russell
Image
ktTris
Benefactor
Posts: 17
Joined: February 1st, 2012, 9:18 pm

Re: leader board not updating

Post by ktTris »

Thanks for checking on it and providing a progress report! I hope all goes smoothly once you have a chance to apply your fix.
User avatar
skeeper
Benefactor
Posts: 106
Joined: January 18th, 2012, 8:05 am

Re: leader board not updating

Post by skeeper »

You'll get it figured out Russell. You always do.
User avatar
Corfman Clan
Global Moderator
Posts: 914
Joined: January 17th, 2012, 12:21 am

Re: leader board not updating

Post by Corfman Clan »

This issue should now be resolved. See the release notes for more details.
Image
desert dawg
Benefactor
Posts: 136
Joined: January 18th, 2012, 8:42 am

Re: leader board not updating

Post by desert dawg »

Thanks for the hard work and the re write , nice to have the stats up to date again ! :D
Post Reply