Conquer Club

AJAX and Server Performance

Archival storage for Announcements. Peruse old Announcements here!

Moderator: Community Team

Forum rules
Please read the Community Guidelines before posting.

AJAX and Server Performance

Postby lackattack on Thu Nov 15, 2007 10:10 pm

First, I have some good news - the AJAX game interface has been improved and is no longer slow when playing games with long game logs :P

The bad news, which many of you have noticed, is that the server is not performing so well these days :( Games lock up during the nightly backup and at random times. Our population has grown since September and the extra usage seems to be pushing the server to it's limits. Here's my action plan:

  • I very recently changed some settings on the database sever and hopefully that will improve performance.
  • Now that AJAX is zippy and an AJAX-compatible "BOB" script exists, I plan to remove the temporary setting to disable AJAX in the next 24 hours. Moving everyone on to AJAX will further reduce stress on the server and should improve the situation for all of us.
  • Following that, I'll be running CC's code through a perfomance analysis tool. Hopefully that will reveal the bottlenecks and lead to some code optimizations within the next few days.
  • If problems still persist, I'll make any hardware upgrades that are neccesary.


As a member of the Conquer Club, you deserve a high-quality casual-world-domination experience, and it's my top priority to ensure the website performs well for you.
User avatar
Sergeant lackattack
 
Posts: 6096
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Postby misterman10 on Thu Nov 15, 2007 10:11 pm

Nice :D
Pleasant Chaps still suck cock.

Yakuza power.
User avatar
Major misterman10
 
Posts: 9412
Joined: Thu May 24, 2007 1:48 pm
Location: Out on the Pitch.

Postby soundout9 on Thu Nov 15, 2007 10:12 pm

Thanks lack :D
Private soundout9
 
Posts: 4519
Joined: Sun Aug 26, 2007 12:30 pm
Location: Good ol' MO Clan: Next-Gen Gamers

Postby DiM on Thu Nov 15, 2007 10:18 pm

i can finally take my 200 turn games with ajax on without the computer freezing :)

thanks lack. =D>
ā€œIn the beginning God said, the four-dimensional divergence of an antisymmetric, second rank tensor equals zero, and there was light, and it was good. And on the seventh day he rested.ā€- Michio Kaku
User avatar
Major DiM
 
Posts: 10415
Joined: Wed Feb 14, 2007 6:20 pm
Location: making maps for scooby snacks

Postby hecter on Thu Nov 15, 2007 10:37 pm

Sweet...
In heaven... Everything is fine, in heaven... Everything is fine, in heaven... Everything is fine... You got your things, and I've got mine.
Image
User avatar
Private 1st Class hecter
 
Posts: 14632
Joined: Tue Jan 09, 2007 6:27 pm
Location: Tying somebody up on the third floor

Postby Gold Knight on Thu Nov 15, 2007 10:46 pm

Thanks, i know Im glad as I had to deal with one of these problems.
Image
xxtig12683xx wrote:yea, my fav part was being in the sewer riding a surfboard and wacking these alien creatures.

shit was badass
User avatar
Captain Gold Knight
 
Posts: 2749
Joined: Tue Apr 17, 2007 9:47 am
Location: Out here in these woods...

Postby Incandenza on Thu Nov 15, 2007 11:30 pm

Works a treat. Thanks lack!
THOTA: dingdingdingdingdingdingBOOM

Te Occidere Possunt Sed Te Edere Non Possunt Nefas Est
User avatar
Colonel Incandenza
 
Posts: 4949
Joined: Thu Oct 19, 2006 5:34 pm
Location: Playing Eschaton with a bucket of old tennis balls

Postby Night Strike on Fri Nov 16, 2007 12:12 am

Thanks for all your hard work.

But, is this going to delay getting the newly quenched maps up for play??
Image
User avatar
Major Night Strike
 
Posts: 8512
Joined: Wed Apr 18, 2007 2:52 pm

Postby Iliad on Fri Nov 16, 2007 1:00 am

awesome!
User avatar
Private 1st Class Iliad
 
Posts: 10394
Joined: Mon Mar 05, 2007 12:48 am

Postby poo-maker on Fri Nov 16, 2007 2:14 am

Thanks alot for that much-needed improvement :)
Brigadier poo-maker
 
Posts: 1275
Joined: Sun Feb 25, 2007 9:58 am
Location: Dublin, Ireland

Postby AK_iceman on Fri Nov 16, 2007 2:16 am

Too much geek-speak...

But it sounds good nonetheless. :wink:
User avatar
Sergeant 1st Class AK_iceman
 
Posts: 5704
Joined: Wed May 10, 2006 10:39 pm

Postby happy2seeyou on Fri Nov 16, 2007 3:55 am

AK_iceman wrote:Too much geek-speak...

But it sounds good nonetheless. :wink:


:? Yeah what he said..
User avatar
Captain happy2seeyou
 
Posts: 4021
Joined: Mon Jan 22, 2007 2:59 pm
Location: A state that is in the shape of a mitten!

Re: AJAX and Server Performance

Postby rebelman on Fri Nov 16, 2007 4:07 am

lackattack wrote:.

[*]Now that AJAX is zippy and an AJAX-compatible "BOB" script exists, I plan to remove the temporary setting to disable AJAX in the next 24 hours. Moving everyone on to AJAX will further reduce stress on the server and should improve the situation for all of us.


Lack you need to warn people this is about to happen (in a more public way than this) otherwise you could have wholesale panic stations.
Don't now why people on here don't like being cooks, remember under siege: A former SEAL, now cook, is the only person who can stop a gang of terrorists when they sieze control of a US Navy battleship.
User avatar
Private rebelman
 
Posts: 2968
Joined: Thu Aug 02, 2007 5:24 pm
Location: People's Republic of Cork

Postby Coleman on Fri Nov 16, 2007 4:41 am

Well, now I can't make any moves at work during my 15 minute breaks. The AJAX doesn't work on their machines for some reason.
Warning: You may be reading a really old topic.
User avatar
Sergeant Coleman
 
Posts: 5402
Joined: Tue Jan 02, 2007 10:36 pm
Location: Midwest

Postby yeti_c on Fri Nov 16, 2007 4:50 am

Coleman wrote:Well, now I can't make any moves at work during my 15 minute breaks. The AJAX doesn't work on their machines for some reason.


Talk to me Coleman... why?

What version of...

Windows, FF / IE are they running?

C>
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby yeti_c on Fri Nov 16, 2007 4:52 am

Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby Coleman on Fri Nov 16, 2007 4:53 am

I'm running Fire Fox, same version as at home I believe.

There really is no logical reason. I can start a turn with ajax on, but after that I can't click any buttons.
User avatar
Sergeant Coleman
 
Posts: 5402
Joined: Tue Jan 02, 2007 10:36 pm
Location: Midwest

Postby yeti_c on Fri Nov 16, 2007 4:56 am

Coleman wrote:I'm running Fire Fox, same version as at home I believe.

There really is no logical reason. I can start a turn with ajax on, but after that I can't click any buttons.


This has to be some kindof security...

Can you change your security settings?

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby Coleman on Fri Nov 16, 2007 4:58 am

lol nope. But it's fine, I probably should be doing other things at work.
Warning: You may be reading a really old topic.
User avatar
Sergeant Coleman
 
Posts: 5402
Joined: Tue Jan 02, 2007 10:36 pm
Location: Midwest

Postby yeti_c on Fri Nov 16, 2007 5:02 am

Coleman wrote:lol nope. But it's fine, I probably should be doing other things at work.


You can't change the security? Then you might be stuffed...

After you click Begin - if you refresh - can you press another button again?

Also - go Tools -> Error Console... and see if anything appears in there when you click Begin... when coding BOB - any Jscript error that occured would break the AJAX code too...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby edbeard on Fri Nov 16, 2007 5:31 am

I just took my first Ajax with new Bob turn.

Wow. It was mighty fast. I've been waiting to get the new Bob only because I wanted it to be as bug free as possible. Either I waited too long or just right. Good job to both lack and yeti for their work in all this.
User avatar
Lieutenant edbeard
 
Posts: 2501
Joined: Thu Mar 29, 2007 12:41 am

Postby Iliad on Fri Nov 16, 2007 5:32 am

dammit. It's lagging now
User avatar
Private 1st Class Iliad
 
Posts: 10394
Joined: Mon Mar 05, 2007 12:48 am

Postby yeti_c on Fri Nov 16, 2007 5:51 am

edbeard wrote:I just took my first Ajax with new Bob turn.

Wow. It was mighty fast. I've been waiting to get the new Bob only because I wanted it to be as bug free as possible. Either I waited too long or just right. Good job to both lack and yeti for their work in all this.


Far too long!!!

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Postby Coleman on Fri Nov 16, 2007 7:59 am

Well it works now. Odd. Disregard.
Warning: You may be reading a really old topic.
User avatar
Sergeant Coleman
 
Posts: 5402
Joined: Tue Jan 02, 2007 10:36 pm
Location: Midwest

Postby yeti_c on Fri Nov 16, 2007 9:04 am

Coleman wrote:Well it works now. Odd. Disregard.


I suspect you had old BOB running in tandem - thus this would've broken AJAX...

C.
Image
Highest score : 2297
User avatar
Lieutenant yeti_c
 
Posts: 9624
Joined: Thu Jan 04, 2007 9:02 am

Next

Return to Announcement Archives

Who is online

Users browsing this forum: No registered users