Article View: news.software.nntp
Article #86543Re: HEAD command for transit-mode servers
From: newone
Date: Wed, 15 Apr 2015 00:50
Date: Wed, 15 Apr 2015 00:50
30 lines
2627 bytes
2627 bytes
Julien ΓLIE <iulius@nom-de-mon-site.com.invalid> wrote: >> You could also just return 430 to all HEAD requests. That should be >> compliant; it just means that you don't have the article on file. >> If you're writing a pure transit server with no article storage >> beyond a buffer for articles in transit, I think that's a reasonable >> response. > > Oh, yes, you're totally right. > It is indeed the best thing to do in that case! Thank you for advice, guys. I'm thinking of not standard transit-only server, but something more complicated. Let's say, there is a cluster of machines running distributed data storage software (similar to key-value NoSQL database.) According to software documentation, it automatically adjusts memory its processes use depending on the type of load (heavy-read or heavy write) to ensure maximum speed of operations. So I'm trying to split work between machines. Some will do read-only operations, some write-only, and client-facing machines will mix between two. There is a way for my "transit-only" server to perform HEAD and STAT, but if some remote server is going to do many of them, it may considerably reduce performance. I probably will implement these commands in honest way and as dummy routines which will always answer that article is not on file, then switch between them at compile time. Thank you again.
Technical Details
Message-ID:
<mgkck5$p2c$1@news.mixmin.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20150601.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!backfill.erje.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!.POSTED!not-for-mailReferences:
<mgaq1b$3tm$1@news.mixmin.net> <87a8yec6ux.fsf@hope.eyrie.org> <mgfafa$tue$1@news.mixmin.net> <mgh200$uop$1@news.trigofacile.com> <87d237rfgs.fsf@hope.eyrie.org> <mgh6uu$4k9$1@news.trigofacile.com>Show Full Headers
Complete Article Headers
Message-ID: <mgkck5$p2c$1@news.mixmin.net> Subject: Re: HEAD command for transit-mode servers Date: Wed, 15 Apr 2015 00:50:13 +0000 From: newone <newone@example.tld> References: <mgaq1b$3tm$1@news.mixmin.net> <87a8yec6ux.fsf@hope.eyrie.org> <mgfafa$tue$1@news.mixmin.net> <mgh200$uop$1@news.trigofacile.com> <87d237rfgs.fsf@hope.eyrie.org> <mgh6uu$4k9$1@news.trigofacile.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.20150601.mbox.gz!border2.nntp.dca1.giganews.com!nntp.giganews.com!newspeer1.nac.net!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!backfill.erje.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!.POSTED!not-for-mail Newsgroups: news.software.nntp Organization: Mixmin Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 15 Apr 2015 00:50:13 +0000 (UTC) Injection-Info: news.mixmin.net; posting-host="BoP69hBN9bDYF0hmeGdexDHzhWU"; logging-data="25676"; mail-complaints-to="abuse@mixmin.net" User-Agent: NewsTap/4.0.1 (iPhone/iPod Touch) Lines: 29