Re: Little optimisation question
| From: | Jason Wong | Date: | Fri, 05 Jul 2002 15:02:23 +0000 |
| Subject: | Re: Little optimisation question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-105668@lists.php.net to get a copy of this message | ||
On Friday 05 July 2002 19:37, Latex Master wrote:
> Hello php-general,
>
> I've recently faced big optimization issues. Here is mine
> situation:
>
> I make connection to NNTP server and fetch headers from the news group
> lets say bla.bla.bla. Connection made ok. Next Php tryes to put
> everything into the array. It's okey if number of headers are lower
> then let's say 100. But if number of headers get greater then 100,
> it's a pain in the ass. I have to wait for 90-100 seconds till the
> operation completes. (I'm talking here about large value news groups).
> So I have faced that I need to optimize it somehow.
> At this point of time i've got only idea is to put all the headers in
> the database. But not sure how to update database frequently. Any
> ideas even fantastic ones are welcome.
There is at least one php-based newsreader out there, look at how they do it.
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
... Logically incoherent, semantically incomprehensible, and legally ...
impeccable!
*/