Article View: news.software.nntp
Article #34938Re: NNTP revision - it's about time?
From: bill davidsen
Date: Fri, 22 Jan 1999 00:00
Date: Fri, 22 Jan 1999 00:00
76 lines
3869 bytes
3869 bytes
In article <slrn7a9u1l.pgt.meowing@meowhost.meow.invalid>, Fluffy <meowing@banet.net> wrote: | bill davidsen <davidsen@tmr.com> wrote: | > I hacked a custom version of 1.4.something a few years ago to enforce | > the group restrictions in the access file. If it said you could read | > alt.whatever you couldn't, including articles crossposted to a group you | > could read. | | Well that's getting into access control, not the basic database | availability. I take it that command <msgid> still worked for the | groups visible to the reader? Yes, the check was just before delivery of the head/article data, and a clear message was returned to let the user know the article was there, but unavailable. In practice the cross posting probably never occurred except in my test cases, but I was sure someone would try it, and they did during acceptance. | > | Again, that's implementation. The start-a-new-process-on-each-connect | > | model is obsolete, and that's also nothing to do with the NNTP | > | protocol. | > | > It has the advantage of working on most systems. There are enough broken | > versions of threads out there that a threads implementation would be far | > less portable than the current implementation. | | On the other hand, there are freely available threading implementations | that work rather well. Having a server or three around that can take | advantage of the capability where it exists seems like a Good Thing to | me; and more apps that require a given capability are that much more | incentive for vendors to get off their butts and fix it. There are some user level threading libraries, but they only wind up with a single dispatch (CPU) in some cases. Of course if you only *have* one cpu all you can buy is reduced overhead. | > And with copy on write used in most systems, the overhead of multiple | > processes is fairly slow if you use the daemon instead of running | > readers from innd. Running readers from innd seems a lose-lose | > proposal on most systems. | | Yup, it's absolutely evil. One thing that could benefit nnrpd without | going to threads might be to borrow apache's trick of leaving a few | spare copies idling in reserve. I've never been sure that was a good idea, either, at least on all systems. The overhead of a fork is basically copying the page tables and setting the copy on write bit as you go. While the overhead of passing a socket is low, I'm not sure in practice it matters. In theory it would be a big win if you had socket passing but not a working vfork(), but I can't think of a system which actually has that misfeature set ;-) Feel free to share info on this, a bit of testing on vfork() performance indicates that it's a very fast operation. -- bill davidsen <davidsen@tmr.com> CTO, TMR Associates, Inc "Too soon we grow old, and too late we grow smart" -Arthur Godfrey
Technical Details
Message-ID:
<78annp$8pac$1@newssvr03-int.news.prodigy.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-mailReferences:
<77nr30$15t$1@taliesin.netcom.net.uk> <77qfel$kb@meow.invalid> <782g8m$ardu$1@newssvr03-int.news.prodigy.com> <slrn7a9u1l.pgt.meowing@meowhost.meow.invalid>Show Full Headers
Complete Article Headers
Message-ID: <78annp$8pac$1@newssvr03-int.news.prodigy.com> Subject: Re: NNTP revision - it's about time? Date: Fri, 22 Jan 1999 00:00:00 +0000 From: davidsen@tmr.com (bill davidsen) References: <77nr30$15t$1@taliesin.netcom.net.uk> <77qfel$kb@meow.invalid> <782g8m$ardu$1@newssvr03-int.news.prodigy.com> <slrn7a9u1l.pgt.meowing@meowhost.meow.invalid> 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: 435757156 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr03-int.news.prodigy.com 917037625 288076 199.4.137.118 (22 Jan 1999 20:40:25 GMT) Organization: TMR Associates, Schenectady NY NNTP-Posting-Date: 22 Jan 1999 20:40:25 GMT Newsgroups: news.software.nntp Originator: davidsen@darkstar.prodigy.com