Article View: news.software.nntp
Article #71941Re: ARTICLE msg-id
From: Dr.Ruud
Date: Wed, 22 Jun 2005 14:32
Date: Wed, 22 Jun 2005 14:32
24 lines
2254 bytes
2254 bytes
YottaNews Support: > I would remove support for requesting articles by > article number and make message-id the only supported method. Having > two methods is stupid. Choose one or the other, but making servers > keep two databases is a waste. Nonsense. It is 'two keys', not 'two databases'. The Article-number doesn't even need to be stored, it can be derived from an array-index. The array can be filled with pointers to (or offsets of) Message-IDs, or with hashes of Message-IDs. To lookup an Article by Message-ID, could go like this: 1. calculate the hash of the supplied Message-ID 2. use that hash in a binary search (via the hash-key), and derive the Article-Number 3. use the Article-number to get to the data of the Article So if you already know the Article-number, you only need step 3. -- Affijn, Ruud
Technical Details
Message-ID:
<d9c4l6.1bs.1@news.isolution.nl>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.stueberl.de!newsgate.cistron.nl!transit3.news.xs4all.nl!post.news.xs4all.nl!rhinewceros.xs4all.nl!not-for-mailReferences:
<42b7a20f@news.stben.net> <slrndbfdci.192v.andrew+nonews@trinity.supernews.net> <UUYte.98970$eh1.73850@fe07.news.easynews.com> <slrndbgs0k.192v.andrew+nonews@trinity.supernews.net> <1119400354.b56e3a757ccc5f190b8def3047ba052b@yottanews> <slrndbhg70.192v.andrew+nonews@trinity.supernews.net> <1119411405.8e82f1e6a60aa1843dd5620493aca139@yottanews>Show Full Headers
Complete Article Headers
Message-ID: <d9c4l6.1bs.1@news.isolution.nl>
Subject: Re: ARTICLE msg-id
Date: Wed, 22 Jun 2005 16:32:55 +0200
From: "Dr.Ruud" <rvtol+news@isolution.nl>
References: <42b7a20f@news.stben.net> <slrndbfdci.192v.andrew+nonews@trinity.supernews.net> <UUYte.98970$eh1.73850@fe07.news.easynews.com> <slrndbgs0k.192v.andrew+nonews@trinity.supernews.net> <1119400354.b56e3a757ccc5f190b8def3047ba052b@yottanews> <slrndbhg70.192v.andrew+nonews@trinity.supernews.net> <1119411405.8e82f1e6a60aa1843dd5620493aca139@yottanews>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20140818.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.stueberl.de!newsgate.cistron.nl!transit3.news.xs4all.nl!post.news.xs4all.nl!rhinewceros.xs4all.nl!not-for-mail
Newsgroups: news.software.nntp
Organization: Chaos rules.
X-Newsreader: WMDIYB
X-Archive-Me: please
Approved: yesterday
X-Face: &CQ$FIr!=+=w,8`0Q^Ug"1>F[(/op8->E; NQet`5fe$;
=e*!Z5&REvp<~Tj|"Y[|8OcJ{w#z&mB7B:I)XO*%_|\]|YW$C>>$Q[9-#K~c$tQ^Mf0,wMo?h\C)TE>f
Lines: 24
NNTP-Posting-Host: 194.109.164.102
X-Trace: 1119451809 dreader12.news.xs4all.nl 90832
[::ffff:194.109.164.102]:34154