Thread View: news.software.nntp
4 messages
4 total messages
Started by Marcus Mönnig
Mon, 13 May 2002 22:21
Re: Good Net-Keeping Seal of Approval 2.0 (GNKSA 2.0) for Usenet Software
Author: Marcus Mönnig
Date: Mon, 13 May 2002 22:21
Date: Mon, 13 May 2002 22:21
16 lines
2193 bytes
2193 bytes
On 09.05.2002 21:42:36, J.B. Moreno wrote: > You have it exactly right -- except for one niggling detail. That > delay is entirely avoidable, WITHOUT opening up a new connection: all > you have to do is pipeline the ARTICLE command. It seems that a lot of > newsreader authors conceptualize the protocol as being of the > command/response type: it's not. It's a two way data flow, so that you > can be sending commands WHILE receiving data. If you do this, then you > totally avoid the delay associated with finding and getting the next > article. Do you know if common server implementations actually process new input while they still have output to process? Marcus
Re: Good Net-Keeping Seal of Approval 2.0 (GNKSA 2.0) for Usenet Software
Author: Marcus Mönnig
Date: Mon, 13 May 2002 22:25
Date: Mon, 13 May 2002 22:25
11 lines
1889 bytes
1889 bytes
On 14.05.2002 00:21:52, Marcus M�nnig wrote: > Do you know if common server implementations actually process new input > while they still have output to process? Or asked differently, while clients software authors conceptualize the protocol as being of the command/response type, don't server software authors, too? Marcus
Re: Good Net-Keeping Seal of Approval 2.0 (GNKSA 2.0) for Usenet Software
Author: Jeffrey M. Vinocur
Date: Mon, 13 May 2002 22:49
Date: Mon, 13 May 2002 22:49
25 lines
1982 bytes
1982 bytes
In article <066c5f6deea258d2%721ac6f9%dlg@40tude.net>, Marcus M�nnig <dialog@40tude.com> wrote: > >Do you know if common server implementations actually process new input >while they still have output to process? Depends what you mean. The idea behind eliminating the lockstep in the command sequence is to avoid the delay imposed by the network round trip time (or even network bandwidth limits, I guess). The intent is not to expect the server to multithread the client requests -- if the server stores each article in a separate file and opening a file takes time T, I would be very surprised at any server that returned more than n articles in n*T time. It's possible, of course, but... So yes, there is still some potential benefit to opening multiple connections to a server. -- Jeffrey M. Vinocur jeff@litech.org
Re: Good Net-Keeping Seal of Approval 2.0 (GNKSA 2.0) for Usenet Software
Author: Andrew - Supernews
Date: Mon, 13 May 2002 23:41
Date: Mon, 13 May 2002 23:41
27 lines
2439 bytes
2439 bytes
In article <28fdffdda7db493d%eae4dc98%dlg@40tude.net>, Marcus M�nnig wrote: > On 14.05.2002 00:21:52, Marcus M�nnig wrote: >> Do you know if common server implementations actually process new input >> while they still have output to process? > > Or asked differently, while clients software authors conceptualize the > protocol as being of the command/response type, don't server software > authors, too? server authors do indeed, but that doesn't stop pipelining from being useful. From the server's point of view, it's ready to read in a new command as soon as the previous response is in the socket send buffer. At that point it can read the next command in and process it while the previous data is still in-flight, and so forth. The only thing the server code has to do for pipelining to work properly is to avoid gratuitously discarding received data. i.e. if it reads the socket expecting to get a command, and instead gets several commands at once, it needs to handle them correctly. This is usually not too hard to get right. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads