Slowness

For discussion directly related to ConwayLife.com, such as requesting changes to how the forums or home page function.
Post Reply
Keiji
Posts: 58
Joined: May 11th, 2010, 5:32 pm

Slowness

Post by Keiji » May 23rd, 2010, 4:33 pm

Is anyone else finding this site really slow? Sometimes it times out or gives SQL errors, too =\
Image
This is why signature character limits are pointless.

H. V. McIntosh
Posts: 49
Joined: June 20th, 2009, 5:26 pm
Location: Mexico

Re: Slowness

Post by H. V. McIntosh » May 23rd, 2010, 11:57 pm

Now and then slow, but not uniquely this site. A real nuisance, however, (and also at the LifeWiki) is that it asks for a new login for every activity - page change, preview, submit, and so on. The SQL may be failing, Megacable (our ISP) may be switching addresses continusly, or whatever. But the problem is worth looking into. It has already happened four times while posting this reply!!
-hvm

Keiji
Posts: 58
Joined: May 11th, 2010, 5:32 pm

Re: Slowness

Post by Keiji » May 24th, 2010, 7:38 am

Well, I don't get any login problems, so it sounds like that's your ISP. But the slowness/timeouts/SQL errors are definitely due to the server hosting this site =\
Image
This is why signature character limits are pointless.

User avatar
Nathaniel
Site Admin
Posts: 862
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Slowness

Post by Nathaniel » May 24th, 2010, 7:43 pm

Yeah, my hosting people like to be a bit useless on weekends every now an then. I'm looking at other options, but unfortunately the site uses a lot of both ASP and PHP, which isn't an easy combination to find hosting for.

As for the login prompts, I can't imagine that it's a server issue (certainly not an SQL one). It sounds like your cookies aren't saving properly for some reason.

Keiji
Posts: 58
Joined: May 11th, 2010, 5:32 pm

Re: Slowness

Post by Keiji » May 25th, 2010, 6:26 am

Nathaniel wrote:Yeah, my hosting people like to be a bit useless on weekends every now an then. I'm looking at other options, but unfortunately the site uses a lot of both ASP and PHP, which isn't an easy combination to find hosting for.
Have you considered porting the ASP to PHP? Unless you use some sort of vendor extensions (not that I know what kind of these ASP has) it should be one-to-one so fairly trivial (albeit tedious).
Image
This is why signature character limits are pointless.

User avatar
Nathaniel
Site Admin
Posts: 862
Joined: December 10th, 2008, 3:48 pm
Location: New Brunswick, Canada
Contact:

Re: Slowness

Post by Nathaniel » May 25th, 2010, 2:04 pm

Keiji wrote:Have you considered porting the ASP to PHP? Unless you use some sort of vendor extensions (not that I know what kind of these ASP has) it should be one-to-one so fairly trivial (albeit tedious).
Most of the code would be reasonable (though tedious, as you mention) to port over to PHP. The tricky part would be the image generation and file saving scripts that are used by the Java applet.

Keiji
Posts: 58
Joined: May 11th, 2010, 5:32 pm

Re: Slowness

Post by Keiji » May 25th, 2010, 3:54 pm

For writing text files, file_put_contents is really all you need.

For images, I personally write the bitmap data to a raw file then use imagemagick to convert it to a PNG. I wouldn't know how to do animated GIFs in this way, though.
Image
This is why signature character limits are pointless.

Post Reply