Article View: news.software.nntp
Article #46734Re: HEADERS comand
From: Sven Paulus
Date: Wed, 31 May 2000 00:00
Date: Wed, 31 May 2000 00:00
50 lines
3294 bytes
3294 bytes
In news.software.nntp Curt Welch <curt@kcwc.com> wrote: |> And that opens up the idea of supporting multiple wildmats per header to |> mean OR instead of the default AND: |> headers 1- From:*curt* From:*bob* subject:*Xnews* |> which would mean (From curt OR From bob) AND subject Xnews. |> This would all be nice, but is it going too far??? How about delimiting multiple patterns with ',' in this case? headers 1- From:*curt,*bob* Subject:*Xnews* headers 1- Subject:*$50\,000$* Subject:*money*,*geld* (-> Subject: 50.000 AND (Subject: money OR Subject: geld)) (the included ',' is escaped) |> But when you allow wildmats like the above, it opens up the posibility of |> the clients doing some really stupid things (in the overall sense), just |> because it makes live a little easier on their end. |> But if the client starts to force the server to scan the same overview data |> multiple times, then there comes a point where this is just abuse. The |> client should have downloaded the data once, and then searched it locally |> multiple times. Usually today newsservers have much idle CPU ressources since the typical bottleneck is IO. And wildmat() is fast, so even applying multiple wildmatches on a single overview line isn't too expensive. With today's XPAT on non-overview-headers you can hurt a newsserver much more (e.g. XPAT PATH 1- *fdfkasdgfhjka* doesn't produce any output but puts quite a lot of load onto the server when applied on groups with heavy traffic). Of course you can disable XPAT for non-overview headers. |> For example, think of a newsreader which allows you to create "pseudo |> groups" by doing wildmat scans for articles in multiple groups. For |> example, a user could create a personal "XNEWS" group by combining articles |> from news.sowtware.* which matched "Subject:*xnews*". And he could create |> a gravity group doing *gravity* etc. And this would end up causing the |> client to do multiple wildmat scans of the same groups. So the server is |> forced to read and processes the same overview data multiple times for the |> client. If the delay between each scan run is small enough, chances are good that the data is still in the OS's buffer cache. Sven
Technical Details
Message-ID:
<Lisa-Christina_Oryczcak@psychiatrist.pool-28.oops.inka.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<8F3253F00bartctsbvnl@195.86.58.244> <8F32634E9pt101594@207.211.168.97> <8F3FD4236shivawellcom@207.126.101.100> <1eb8qlt.1s5z5uu1rag5spN%planb@newsreaders.com> <slrn8itn8b.9rk.andrew+news@uk21.supernews.com> <8F40CCF87farkle@24.64.2.57> <slrn8iubou.9rk.andrew+news@uk21.supernews.com> <8F40E796Cfarkle@24.64.2.57> <1eb9n93.6zm4ecsdufpcN%planb@newsreaders.com> <slrn8iuuto.ner.andrew+news@uk21.supernews.com> <20000531111455.642$zy_-_@newsreader.com>Show Full Headers
Complete Article Headers
Message-ID: <Lisa-Christina_Oryczcak@psychiatrist.pool-28.oops.inka.de> Subject: Re: HEADERS comand Date: Wed, 31 May 2000 00:00:00 +0000 From: Sven Paulus <sven@karlsruhe.org> References: <8F3253F00bartctsbvnl@195.86.58.244> <8F32634E9pt101594@207.211.168.97> <8F3FD4236shivawellcom@207.126.101.100> <1eb8qlt.1s5z5uu1rag5spN%planb@newsreaders.com> <slrn8itn8b.9rk.andrew+news@uk21.supernews.com> <8F40CCF87farkle@24.64.2.57> <slrn8iubou.9rk.andrew+news@uk21.supernews.com> <8F40E796Cfarkle@24.64.2.57> <1eb9n93.6zm4ecsdufpcN%planb@newsreaders.com> <slrn8iuuto.ner.andrew+news@uk21.supernews.com> <20000531111455.642$zy_-_@newsreader.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 629583178 Organization: clueless in Karlsruhe, Germany Newsgroups: news.software.readers,news.software.nntp