Slowness
-
- Posts: 49
- Joined: June 20th, 2009, 5:26 pm
- Location: Mexico
Re: Slowness
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
Re: Slowness
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 =\
This is why signature character limits are pointless.
- Nathaniel
- Site Admin
- Posts: 862
- Joined: December 10th, 2008, 3:48 pm
- Location: New Brunswick, Canada
- Contact:
Re: Slowness
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.
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.
Re: Slowness
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).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.
This is why signature character limits are pointless.
- Nathaniel
- Site Admin
- Posts: 862
- Joined: December 10th, 2008, 3:48 pm
- Location: New Brunswick, Canada
- Contact:
Re: Slowness
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 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).
Re: Slowness
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.
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.
This is why signature character limits are pointless.