How to implement indexing through php script?
| From: | Gaurav Bhatnagar | Date: | Mon, 21 May 2007 13:41:09 +0000 |
| Subject: | How to implement indexing through php script? | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-35465@lists.php.net to get a copy of this message | ||
Hi,
I want to know that how i'm able to achieve indexing while searching files in a directory through php script. I'm using find command to search files. e.g.
As expected, arround 1000 users are going to hit this directory for search at a time and in every minute 4 files will be created by a user, We've to keep only those files which are less than 3 minutes old. So, at a time 12000 files will be there and 1000 users are going to hit these files at a time for searching. This will put lot of load in server. Is there any way to reduce the searching load?
Regards,
Gaurav