[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    Re: [PHP] Is a small memory footprint better for a php script?
From:       Robert Cummings <robert () interjinn ! com>
Date:       2007-08-31 21:39:27
Message-ID: 1188596367.7575.100.camel () blobule
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic