🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #39056

Re: NNTP - building the ultimate server

#39056
From: Avi Freedman
Date: Tue, 10 Aug 1999 00:00
20 lines
1596 bytes
Comrade Yum Yum (toby.douglass@arm.com) wrote:

: I couldn't agree more.  I'm thinking about writing an NNTP server, and 
: threading is an obviously sensible and useful programming method for 
: servicing requests.  If you agree with that, and use threads, the better 
: your threads are, the better your service will be.  And if you've no 
: threads at all, you're either running single threaded (not viable, 
: surely) or you're forced to start a full, heavyweight process for each 
: request - which, as I understand matters, was the one of the two reasons 
: Linux running Apache was slower than NT; the need to run a new process 
: for each request and the lack of multithreaded TCP/IP.
: 
: Comrade Yum Yum...

Or just sit in a select() loop, servicing tens or hundreds per process.

Avi


Technical Details
Message-ID: <7opp11$b3r@netaxs.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
References: <37a5671a.1475189546@news.ftech.net> <brad-0208991250220001@brad.techos.skynet.be> <37a87721.1479292265@news.ftech.net> <brad-0208991326230001@brad.techos.skynet.be> <yl672wcwjk.fsf@windlord.stanford.edu> <MPG.121a6f08bc803747989cab@news.earthlink.net>

Show Full Headers
Complete Article Headers
Message-ID: <7opp11$b3r@netaxs.com>
Subject: Re: NNTP - building the ultimate server
Date: Tue, 10 Aug 1999 00:00:00 +0000
From: freedman@netaxs.com (Avi Freedman)
References: <37a5671a.1475189546@news.ftech.net> <brad-0208991250220001@brad.techos.skynet.be> <37a87721.1479292265@news.ftech.net> <brad-0208991326230001@brad.techos.skynet.be> <yl672wcwjk.fsf@windlord.stanford.edu> <MPG.121a6f08bc803747989cab@news.earthlink.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.mbox.zip!not-for-mail
X-Deja-AN: 511130351
Organization: Philadelphia's Complete Internet Provider
Newsgroups: news.software.nntp