Page 1 of 1

Bandwidth vs. Computing

Posted: Wed Jun 27, 2007 10:53 am
by superdezign
When PHP takes long to perform actions, does that use up bandwidth? I'm writing an "on-the-fly" *.ico conversion and want to know if it's a good idea to utilize it, or just to share it.

Re: Bandwidth vs. Computing

Posted: Wed Jun 27, 2007 11:02 am
by volka
Computing doesn't necessarily produce net traffic. As long as there's no output there's no net traffic.

Posted: Wed Jun 27, 2007 11:03 am
by superdezign
So, the server won't count it against my bandwidth? :D

Posted: Wed Jun 27, 2007 11:24 am
by volka
But your cpu time and/or amount of ram.

Posted: Wed Jun 27, 2007 3:31 pm
by feyd
Graphics processing often utilizes a lot of CPU, so be careful.

Posted: Wed Jun 27, 2007 4:42 pm
by superdezign
feyd wrote:Graphics processing often utilizes a lot of CPU, so be careful.
Yes it does. Ugh. I"ce got a question, but I'll put it in a different thread.

Posted: Wed Jun 27, 2007 10:59 pm
by Ambush Commander
You should cache the icon, because it's probably going to be one of the most called items on your website.

Posted: Thu Jun 28, 2007 1:53 pm
by superdezign
Ambush Commander wrote:You should cache the icon, because it's probably going to be one of the most called items on your website.
Yeah, I've already set up the class to save the icons after they've been processed so the first time it's created will take time, but any time after that will just load the file.