🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
11 messages
11 total messages Started by floffy com Fri, 11 Jul 2008 01:44
Does some one with
#79185
Author: floffy com
Date: Fri, 11 Jul 2008 01:44
9 lines
1277 bytes
Does  some  one  with news server support Dfeed Compression 

it seem to save 65% of the bandwith



------------------------------------------
I have my Own news server , so i post in it!
Re: Does some one with
#79187
Author: Julien ÉLIE
Date: Fri, 11 Jul 2008 05:51
15 lines
1954 bytes
> Does  some  one  with news server support Dfeed Compression
>
> it seem to save 65% of the bandwith


One can also use an UUCP feed with articles compressed with bzip2 or gzip
for instance.  It also saves a lot of bandwith between two news server which
have one or two peers.
Otherwise, IHAVE/CHECK does not use much bandwidth when no article is transmitted :)

-- 
Julien ÉLIE

« Être raisonnable en toutes circonstances. Il faudrait être fou... » (Raymond Devos)
Re: Does some one with
#79189
Author: D. Stussy
Date: Fri, 11 Jul 2008 21:48
18 lines
1817 bytes
"Julien ÉLIE" <iulius@nom-de-mon-site.com.invalid> wrote in message
news:g56se4$j2e$1@news.trigofacile.com...
> > Does  some  one  with news server support Dfeed Compression
> >
> > it seem to save 65% of the bandwith
>
> One can also use an UUCP feed with articles compressed with bzip2 or gzip
> for instance.  It also saves a lot of bandwith between two news server
which
> have one or two peers.
> Otherwise, IHAVE/CHECK does not use much bandwidth when no article is
transmitted :)

Maybe INN should add this feature (or at least some sort of compression) for
2.5.0?  It should be settable on a per group wildcard basis as text
compresses well while binaries don't.

Re: Does some one with
#79190
Author: Russ Allbery
Date: Fri, 11 Jul 2008 22:09
25 lines
2150 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:

> Maybe INN should add this feature (or at least some sort of compression)
> for 2.5.0?  It should be settable on a per group wildcard basis as text
> compresses well while binaries don't.

INN already supports compressed news batches over NNTP -- see XBATCH,
which takes any batch format that rnews supports.  However, I think you
still have to encode so that you don't have nuls, although I haven't
checked.

Handling messages with nuls in them is a harder problem that would require
fairly significant review of INN's code to be sure that it's fully
binary-clean everywhere.  In some places we cope; in others, I'm fairly
sure we don't.

This probably isn't the protocol that Dnews uses.  Is there a protocol
specification for what it does?  That's probably a prerequisite for any
independent implementation.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Does some one with
#79191
Author: D. Stussy
Date: Fri, 11 Jul 2008 22:23
27 lines
2339 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:874p6wnkdb.fsf@windlord.stanford.edu...
> "D. Stussy" <spam@bde-arc.ampr.org> writes:
> > Maybe INN should add this feature (or at least some sort of compression)
> > for 2.5.0?  It should be settable on a per group wildcard basis as text
> > compresses well while binaries don't.
>
> INN already supports compressed news batches over NNTP -- see XBATCH,
> which takes any batch format that rnews supports.  However, I think you
> still have to encode so that you don't have nuls, although I haven't
> checked.

But will it innfeed do that while using CHECK?

> Handling messages with nuls in them is a harder problem that would require
> fairly significant review of INN's code to be sure that it's fully
> binary-clean everywhere.  In some places we cope; in others, I'm fairly
> sure we don't.
>
> This probably isn't the protocol that Dnews uses.  Is there a protocol
> specification for what it does?  That's probably a prerequisite for any
> independent implementation.

Perhaps we need something better to compete - and make Dnews use our
protocol!  ;-)

Re: Does some one with
#79192
Author: Russ Allbery
Date: Fri, 11 Jul 2008 22:29
19 lines
1889 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:

>> INN already supports compressed news batches over NNTP -- see XBATCH,
>> which takes any batch format that rnews supports.  However, I think you
>> still have to encode so that you don't have nuls, although I haven't
>> checked.

> But will it innfeed do that while using CHECK?

innfeed currently does not support XBATCH.  You have to use innxbatch to
send batch files.  I'm not sure that batch files make much sense if you're
using streaming.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
Re: Does some one with
#79193
Author: Michiel
Date: Sat, 12 Jul 2008 06:45
22 lines
2022 bytes
D. Stussy formulated the question :
> "Russ Allbery" <rra@stanford.edu> wrote in message
> news:874p6wnkdb.fsf@windlord.stanford.edu...

>> Handling messages with nuls in them is a harder problem that would require
>> fairly significant review of INN's code to be sure that it's fully
>> binary-clean everywhere.  In some places we cope; in others, I'm fairly
>> sure we don't.
>> 
>> This probably isn't the protocol that Dnews uses.  Is there a protocol
>> specification for what it does?  That's probably a prerequisite for any
>> independent implementation.

> Perhaps we need something better to compete - and make Dnews use our
> protocol!  ;-)

Ghehe, too bad the makers of Dnews stopped developping it... :'(

-- 
No line here today ....

Re: Does some one with
#79194
Author: gigo com
Date: Sun, 13 Jul 2008 01:41
27 lines
2293 bytes
the lastest version ,As i known Dnews work very good 


On Sat, 12 Jul 2008 08:45:22 +0200, Michiel <michiel@nospam.invalid>
wrote:

>D. Stussy formulated the question :
>> "Russ Allbery" <rra@stanford.edu> wrote in message
>> news:874p6wnkdb.fsf@windlord.stanford.edu...
>
>>> Handling messages with nuls in them is a harder problem that would require
>>> fairly significant review of INN's code to be sure that it's fully
>>> binary-clean everywhere.  In some places we cope; in others, I'm fairly
>>> sure we don't.
>>> 
>>> This probably isn't the protocol that Dnews uses.  Is there a protocol
>>> specification for what it does?  That's probably a prerequisite for any
>>> independent implementation.
>
>> Perhaps we need something better to compete - and make Dnews use our
>> protocol!  ;-)
>
>Ghehe, too bad the makers of Dnews stopped developping it... :'(

------------------------------------------
I have my Own news server , so i post in it!
Re: Does some one with
#79195
Author: D. Stussy
Date: Sun, 13 Jul 2008 02:48
31 lines
2865 bytes
"Russ Allbery" <rra@stanford.edu> wrote in message
news:87hcawm4wb.fsf@windlord.stanford.edu...
> "D. Stussy" <spam@bde-arc.ampr.org> writes:
> > "Russ Allbery" <rra@stanford.edu> wrote:
> >> INN already supports compressed news batches over NNTP -- see XBATCH,
> >> which takes any batch format that rnews supports.  However, I think you
> >> still have to encode so that you don't have nuls, although I haven't
> >> checked.
>
> > But will it innfeed do that while using CHECK?
>
> innfeed currently does not support XBATCH.  You have to use innxbatch to
> send batch files.  I'm not sure that batch files make much sense if you're
> using streaming.

That will depend on the size of the article and its compressibility (text
vs. binary)....  Even something simpler like LZ77 or LZW78 (over bzip2 or
gzip) would be an improvement, but it's only cost effective if the time of
compression plus transmission is less than the uncompressed transmission
time - and that's hard to judge, but size is a good indicator.  Obviously,
"small" articles would never be compressed, and large ones always - when
available.

I don't see why streaming would make a difference.  Each article still gets
sent, headers first.  With compression, it could be something simple as the
literal "Compressed\r\n", followed by a 32-bit size (in network order for
consistency), then the literal next "x" bytes as the message (where "x" is
the size).  The message ID and everything else would operate on the received
values after expansion, as would acknowledging receipt with a status code.

Re: Does some one with
#79197
Author: Michiel
Date: Sun, 13 Jul 2008 19:04
18 lines
1872 bytes
gigo brought next idea :
> On Sat, 12 Jul 2008 08:45:22 +0200, Michiel <michiel@nospam.invalid>
> wrote:
>> 
>>> Perhaps we need something better to compete - and make Dnews use our
>>> protocol!  ;-)
>> 
>> Ghehe, too bad the makers of Dnews stopped developping it... :'(

> the lastest version ,As i known Dnews work very good 

For win32 there are not much alternatives. Currently I'm using Dnews 
Multi for my news service with 30 peers approx. Works fine for me :-)

-- 
No line here today ....

Re: Does some one with
#79200
Author: Russ Allbery
Date: Sun, 13 Jul 2008 19:33
47 lines
3541 bytes
"D. Stussy" <spam@bde-arc.ampr.org> writes:
> "Russ Allbery" <rra@stanford.edu> wrote:

>> innfeed currently does not support XBATCH.  You have to use innxbatch
>> to send batch files.  I'm not sure that batch files make much sense if
>> you're using streaming.

> That will depend on the size of the article and its compressibility
> (text vs. binary)....  Even something simpler like LZ77 or LZW78 (over
> bzip2 or gzip) would be an improvement, but it's only cost effective if
> the time of compression plus transmission is less than the uncompressed
> transmission time - and that's hard to judge, but size is a good
> indicator.  Obviously, "small" articles would never be compressed, and
> large ones always - when available.

I didn't say that I wasn't sure compression made sense.  I said I wasn't
sure batch files made sense.  :)

> I don't see why streaming would make a difference.

That's probably because you're not familiar with what a batch file is.
It's a container to send multiple articles at the same time, and the flow
of putting together batch files doesn't really match how streaming works.
It's possible to abuse the idea, but it doesn't really fit.

To support general compression of streaming feeds, you'd need something
other than the current INN XBATCH protocol.

> Each article still gets sent, headers first.  With compression, it could
> be something simple as the literal "Compressed\r\n", followed by a
> 32-bit size (in network order for consistency), then the literal next
> "x" bytes as the message (where "x" is the size).

Well, you would send the length as an ASCII number rather than an encoded
binary value and specify the compression method, I would hope, but
otherwise, sure.  However, you have to deal with the fact that NNTP
software is often not binary-clean, INN included, before you could do any
of that.  The protocol isn't really the hard part.  If I were designing
the protocol, I'd probably base it on how HTTP handles compressed data,
but the hard part is fixing the software to deal with nul bytes in all of
its data streams.

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>

          Please post questions rather than mailing me directly.
     <http://www.eyrie.org/~eagle/faqs/questions.html> explains why.
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