Update 2: Should be fixed now, turns out Wargaming decided to do a little renaming of some fields, which confused the script.
Update: There is some issue with EU players where the stats will not update, I’m trying to figure it out now and I’ll let you guys know as soon as it’s fixed!
As you may have seen, during peak hours the server sometimes is unable to handle all the requests. The website does get 10.000 visits per day, which means a lot of signature generations and a lot of stat updates. This consumes the server’s resources like crazy, so I’m looking into a few options like upgrading the existing server or renting a new server to run the automatic update scripts, thus decreasing the load on the main server. Unfortunately either option costs a lot, so I’d like to ask that, if you like the website and think it’s worth it, please consider donating so I can make the service even better!
Well, on to the update: Every time a user loads up his profile on WoTLabs, the server does a check to see if his stats were updated in the last 30 minutes. If they were, then the server would just return those stats. If they weren’t, then a new update would be made for him. Individually, this update doesn’t take much resources, but when 50 people are updating at the same time, the server grinds to a halt. That’s why I increased this time to 2 hours, which should spread out the updates and keep the load under control. I intend to return to 1 hour or even 30 minutes when I manage to upgrade the server or find other ways to increase the performance.
That’s all for now, happy tanking!