Re: Is a small memory footprint better for a php script?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2007-08-31 at 23:06 +0200, Mark wrote:
>
> The question now is: what is better? a script with a small memory
> usage? or is that something i don't need to look at?

It depends... do you find the following script better? Better than what?
It definitely has a small memory footpring:

<?php

    echo 'Brought to you by the ridiculous question department.';

?>

> And when is memory usage gonna be a issue? is that when you have ALOT
> of simultaneous users? (lets say 100 all the time.. not that i have
> that.. but just for the idea).

Let's see... (100 * 2) = 200 megs.
My desktop computer... (2048 - 200) = 1848.

I'm not seeing an issue... A greater problem is going to be
database/filesystem bottlenecks, or possible poorly written scripts that
suck the life out of your processor(s)/core(s).

Cheers,
Rob.
-- 
...........................................................
SwarmBuy.com - http://www.swarmbuy.com

    Leveraging the buying power of the masses!
...........................................................

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux