Resource use reading from file system
| From: | Brian Dunning | Date: | Sun, 05 Feb 2006 19:49:17 +0000 |
| Subject: | Resource use reading from file system | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-229905@lists.php.net to get a copy of this message | ||
I built a quick & dirty photo gallery that reads the file system to display filenames of all the images in each folder. As traffic increases, will it save system resources if I have a cron job write include files with the contents of each folder? Is the processor taxed much more to read ~10 files from a folder, than to read a single include file? I know it's less, but I wonder if the difference is really all that significant.