Re: troll performance questions
Eric Rostetter <[email protected]> Fri, 10 Jan 2003 11:10:28 -0600
| Newsgroups | gmane.comp.horde.troll |
|---|---|
| Message-ID | <[email protected]> |
Quoting Jan Schneider <[email protected]>: > > No idea. But it would be trivial. Worse case would be read in the > > user's > > list (.newsrc, etc) to an array, do an nntp "list" command into an array, > > and find the differences between the arrays (for deletes and additions). > > With the fantastic array functions/handling in php, this should be extra > > trivial. > > That's indeed trivial, but it wasn't what I was talking about. We would > still need to retrieve the whole list from the server, comparing it to the > user's list. What other clients do is getting anyhow an update list from the > server that only contains new (and probably deleted) groups. I can see how you can get a list of new newsgroups from the server, but I don't know how you would get a list of deleted ones. Hence my proposed solution, which would do both. But then, it has been almost 4 years since I ran a news server, so I may just have forgotten how it all works... (And no, I don't miss running one at all, I'm very happy letting someone else handle that pain) > Jan. -- Eric Rostetter The Department of Physics The University of Texas at Austin Why get even? Get odd! -- Troll mailing list Frequently Asked Questions: http://horde.org/faq/ To unsubscribe, mail: [email protected]