Thread View: news.software.nntp
205 messages
205 total messages
Page 2 of 5
Started by Jeremy
Tue, 02 Apr 2002 20:03
Page 2 of 5 • 205 total messages
Re: A better way to post binaries
Author: Jeremy
Date: Mon, 08 Apr 2002 14:50
Date: Mon, 08 Apr 2002 14:50
27 lines
1942 bytes
1942 bytes
Juergen Helbing <archiver@i3w.com> wrote: > I dont understand this, could you please explain ? > > You need the information already for creating the MIME headers > - so passing them to the "stand alone module" would simply be > a data structure which contains all the necessary data - which > has been already necessary for the MIME header creation: Er, no. All the data for creating a MIME message is an entirely different level of the application than just the encoding. I'm talking about the encoding of the data. You wouldn't do that in the same code as the MIME headers, would you? I'm talking about the bit of code that takes the raw datastream and turns it into an encoded datastream. That has nothing to do with the MIME headers. > For every type of existing (and future) encoding API will would > need such a data structure which is passed as a parameter. I can't imagine doing a "full-strength" implementation with that kind of lack of modularization, these days. -- Jeremy | jeremy@exit109.com
Re: A better way to post binaries
Author: Joe Greco
Date: Mon, 08 Apr 2002 16:56
Date: Mon, 08 Apr 2002 16:56
39 lines
3243 bytes
3243 bytes
In news.software.nntp article <Xns91E9755E4790Fvegasedvegasedvegase@64.152.100.164>, Ed <vegased@bigfoot.com> wrote: :Does http://www.exit109.com/~jeremy/news/binaries/ address the following? : :Posting all parts at the 'same' size to eliminate the problem of some :servers only getting the last part? : :Posting standards for post sizes? I know this is a difficult issue, but at :some point in time it really needs to be addressed and the posting software :at least needs to help to some extent by limiting the number of parts they :will create without automatically inclreasing the size of all parts. The problem of some servers only getting the last part is caused by restrictions upstream; if sites don't wish to transit large articles, then they're effectively nixing binaries. Modern servers have the capability of detecting binaries in more sophisticated ways; admins should probably upgrade to modern software if that's why they're filtering large posts. I don't think it's worth too much time to work around it, because all that's going to happen is the last "small" post will be increased in size to a point where it is probably also going to get filtered. Now, many servers cap size to 1MB, simply because it's a common software default. With that said, I'd strongly encourage a minimum required part size of at least half a meg, and preferably much more like 980KB - sufficiently shy of the common 1000000 or 1048576 size limits out there, but large enough that "parts missing due to simply insane numbers of parts" is substantially reduced. I'd like to *shoot* the folks posting 1000 or more 100KB posts, because losing 1 in 1000 is MUCH more likely to happen than 1 in 100. However, if you have a 1.5MB post, I'd certainly agree that there's no penalty to posting 2 x 750KB posts, and that should be a workable exception. I mean that in a general sense: if you get N posts by breaking up your data into 980KB chunks, and instead you choose to post N posts of (total / N) size, there's no penalty for doing that. ... JG
Re: A better way to post binaries
Author: Ed
Date: Mon, 08 Apr 2002 18:27
Date: Mon, 08 Apr 2002 18:27
34 lines
2430 bytes
2430 bytes
archiver@i3w.com (The Archiver) wrote in news:31039.842200@archiver.winews.net: > I have already seen one autoposter (dont remember which one) that > created parts with a constant size (dividable through the # of parts > +/- 1). > Glad to hear that. Now if the others would change. > This is not very difficult to do - but I'd even prefer to leave it "as > it is". It shows users definitely that server are limiting by size - > and it permits them to ask the sender to use a smaller partsize. > So it shows users that their server is limiting by size so they can request a repost in with smaller articles? So, we use more bandwidth to post the same data and probably force that admin to go to smaller sizes or for all of the users on the server to get shorter retention. Then there is the cost of invreased overviews, and the need to downlaod more headers! Like I said, make them all the same saize to prevent this problem. Why do you insist that anyone who limits the size of a post should be forced to take more binaries by recommending that the sizes of new posts should be smaller? -- Ed http://www.geeks.org/~ed/Usenet_Servers.html
Request to binary posting program programmers
Author: Ed
Date: Mon, 08 Apr 2002 18:42
Date: Mon, 08 Apr 2002 18:42
72 lines
4517 bytes
4517 bytes
jgreco@ns.sol.net (Joe Greco) wrote in news:3cb1cbbb$0$82600$39de8f09@news.sol.net: > In news.software.nntp article > <Xns91E9755E4790Fvegasedvegasedvegase@64.152.100.164>, Ed > <vegased@bigfoot.com> wrote: >:Does http://www.exit109.com/~jeremy/news/binaries/ address the >:following? >: >:Posting all parts at the 'same' size to eliminate the problem of some >:servers only getting the last part? >: >:Posting standards for post sizes? I know this is a difficult issue, >:but at some point in time it really needs to be addressed and the >:posting software at least needs to help to some extent by limiting the >:number of parts they will create without automatically inclreasing the >:size of all parts. > > The problem of some servers only getting the last part is caused by > restrictions upstream; if sites don't wish to transit large articles, > then they're effectively nixing binaries. > > Modern servers have the capability of detecting binaries in more > sophisticated ways; admins should probably upgrade to modern software > if that's why they're filtering large posts. I don't think it's worth > too much time to work around it, because all that's going to happen is > the last "small" post will be increased in size to a point where it is > probably also going to get filtered. > > Now, many servers cap size to 1MB, simply because it's a common > software default. With that said, I'd strongly encourage a minimum > required part size of at least half a meg, and preferably much more > like 980KB - sufficiently shy of the common 1000000 or 1048576 size > limits out there, but large enough that "parts missing due to simply > insane numbers of parts" is substantially reduced. I'd like to > *shoot* the folks posting 1000 or more 100KB posts, because losing 1 > in 1000 is MUCH more likely to happen than 1 in 100. > > However, if you have a 1.5MB post, I'd certainly agree that there's no > penalty to posting 2 x 750KB posts, and that should be a workable > exception. I mean that in a general sense: if you get N posts by > breaking up your data into 980KB chunks, and instead you choose to > post N posts of (total / N) size, there's no penalty for doing that. > > ... JG > I believe that you and I pretty much agree. The question is how to get the writers of the posting programs to change? With yEnc, providing the number of lines does not control the size of the post like it did in uue or mime. So why not change to set posting size by bytes and not lines since it is the only way to control postings sizes in different formats? Also, is there a reason why the posting program authors don't all post same size articles? I agree that 500K or so is a good starting point. To caluclate the number of parts divide the encoded size by the chosen number, round down and they use that number of parts to calculate the size for each part. It would be nice if the programs also forced the size up if too many parts were generated. Not sure what number to use there, but maybe trying to keep the number of parts between 1 and 20 with the size of each part between 250KB and 1MB. That would cover all posts of 20MB or less. -- Ed http://www.geeks.org/~ed/Usenet_Servers.html
Re: A better way to post binaries
Author: Andrew - Supernews
Date: Mon, 08 Apr 2002 20:28
Date: Mon, 08 Apr 2002 20:28
59 lines
3736 bytes
3736 bytes
In article <3cb1cbbb$0$82600$39de8f09@news.sol.net>, Joe Greco wrote: > The problem of some servers only getting the last part is caused by > restrictions upstream; if sites don't wish to transit large articles, then > they're effectively nixing binaries. they're effectively nixing _some_ binaries. The average size of a single-part binary post is much smaller than for the multipart deluge, so it's not surprising that sites see a cutoff at around 300-400k as a way of bringing the volume down to manageable levels without actually dropping binaries altogether. Of coursem ideally they should also drop the groups that constitute the bulk of said deluge, but that's a bit of a moving target. > Modern servers have the capability of detecting binaries in more > sophisticated ways; heh; does Diablo have code in there for yenc yet? What about UCAR's experimental encoding? or that other strange thing I see occasionally? > admins should probably upgrade to modern software if > that's why they're filtering large posts. you mean "ask that their upstream feeds upgrade to 'modern software'"? > I don't think it's worth too > much time to work around it, because all that's going to happen is the > last "small" post will be increased in size to a point where it is > probably also going to get filtered. I think that's the idea. > Now, many servers cap size to 1MB, simply because it's a common software > default. With that said, I'd strongly encourage a minimum required part > size of at least half a meg, and preferably much more like 980KB - > sufficiently shy of the common 1000000 or 1048576 size limits out there, > but large enough that "parts missing due to simply insane numbers of > parts" is substantially reduced. I'd like to *shoot* the folks posting > 1000 or more 100KB posts, because losing 1 in 1000 is MUCH more likely to > happen than 1 in 100. I'm sure I've mentioned here before the fact that we filter for too many parts or part sizes too small. > However, if you have a 1.5MB post, I'd certainly agree that there's no > penalty to posting 2 x 750KB posts, and that should be a workable > exception. I mean that in a general sense: if you get N posts by > breaking up your data into 980KB chunks, and instead you choose to > post N posts of (total / N) size, there's no penalty for doing that. common posting programs seem to use a fixed part size which means that the last part can be of any size 1-(N-1) (or even 0 in the case of some buggy posting programs, grr). Hence the last part often gets through size limits or filters that blocked the rest. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: A better way to post binaries
Author: Jim Riley
Date: Mon, 08 Apr 2002 21:38
Date: Mon, 08 Apr 2002 21:38
44 lines
2907 bytes
2907 bytes
On 08 Apr 2002 09:54:09 +0200, archiver@i3w.com (Juergen Helbing) wrote: >Jim Riley <jimrtex@pipeline.com> wrote: > >> [...] > >>* Why not encourage posting of all binaries as a file fragment, even >>if it is a single fragment? This might help generalize the handling >>of fragments, and possibly permit patching of files. > >It will generate more data in the Content-Lines. >This data is always retrieved by all downloaders. So? >>* It seems odd that there is a need to get around the inefficiencies >>of XOVER which was intended to get around the inefficiency of XHDR. >>If the principle behind implementing XOVER was to permit more >>efficient processing of text articles in text-oriented groups, why not >>create something that would directly permit more efficient handling of >>binary files in binary-oriented groups? > >We have to live with the existing infrastructure. >Every server-side-change is hard to reach. >And adding "new commands" to NNTP takes years to become effective. Is this basically what has happened: Someone figured out how to encode a matchbox car and send it by mail. Someone tried to use the same scheme to send a Tonka truck, but it was too big for the envelope. So they split it into 5 pieces and mailed each separately. People kept sending larger and larger objects, compact cars, luxury sedans, buses, semi-trucks, freight trains. Finally someone cried out, "This is insane, chopping an automobile in 1000 pieces and sending it in a 1000 separate envelopes." And your solution was to use smaller letters so that only 800 envelopes are needed. And Jeremy Nixon's was to add some bar codes. -- Jim Riley
Re: A better way to post binaries
Author: Klaas
Date: Mon, 08 Apr 2002 22:33
Date: Mon, 08 Apr 2002 22:33
49 lines
2789 bytes
2789 bytes
Jim Riley <jimrtex@pipeline.com> wrote in message news:a8t2qa$k5u$1@slb4.atl.mindspring.net... > On 08 Apr 2002 09:54:09 +0200, archiver@i3w.com (Juergen Helbing) > wrote: > >>* It seems odd that there is a need to get around the inefficiencies > >>of XOVER which was intended to get around the inefficiency of XHDR. > >>If the principle behind implementing XOVER was to permit more > >>efficient processing of text articles in text-oriented groups, why not > >>create something that would directly permit more efficient handling of > >>binary files in binary-oriented groups? > > > >We have to live with the existing infrastructure. > >Every server-side-change is hard to reach. > >And adding "new commands" to NNTP takes years to become effective. > > Is this basically what has happened: > > Someone figured out how to encode a matchbox car and send it by mail. > Someone tried to use the same scheme to send a Tonka truck, but it was > too big for the envelope. So they split it into 5 pieces and mailed > each separately. People kept sending larger and larger objects, > compact cars, luxury sedans, buses, semi-trucks, freight trains. > > Finally someone cried out, "This is insane, chopping an automobile in > 1000 pieces and sending it in a 1000 separate envelopes." > > And your solution was to use smaller letters so that only 800 > envelopes are needed. And Jeremy Nixon's was to add some bar codes. Which is a decent solution, since it allows the pieces to be put back together before the recipient gets it. Much preferrably to the existing "a truck" labels. TCP/IP uses the same paradigm, splitting data into smaller, less-likely to be lost, chunks. -Mike
Re: A better way to post binaries
Author: Ed
Date: Mon, 08 Apr 2002 22:33
Date: Mon, 08 Apr 2002 22:33
22 lines
1872 bytes
1872 bytes
andrew+nonews@supernews.com (Andrew - Supernews) wrote in news:slrnab3vba.23sv.andrew+nonews@trinity.supernews.net: > common posting programs seem to use a fixed part size which means that > the last part can be of any size 1-(N-1) (or even 0 in the case of > some buggy posting programs, grr). Hence the last part often gets > through size limits or filters that blocked the rest. > > Yep. I believe that bnr2 had a problem when a yEnc last part had a size of zero. I guess that's the price we pay for improvements and well thought out specifications. -- Ed http://www.geeks.org/~ed/Usenet_Servers.html
Re: A better way to post binaries
Author: Ed
Date: Mon, 08 Apr 2002 22:46
Date: Mon, 08 Apr 2002 22:46
22 lines
1734 bytes
1734 bytes
"Klaas" <spamhole@klaas.ca> wrote in news:a8t5pr$um9b1$1@ID- 26705.news.dfncis.de: > TCP/IP uses the same paradigm, splitting data into smaller, > less-likely to be lost, chunks. > Refresh my memory. TCP/IP splits it all into fixed size chunks, right? That has nothing to do with making the parts less-likely to be lost does it? When was the TCP/IP packet size fixed? At that time, what percent of the average feed pipe did one packet take up? What percentage of the average feed pipe today does a tcp/ip packet take up? -- Ed http://www.geeks.org/~ed/Usenet_Servers.html
Re: A better way to post binaries
Author: Jeremy
Date: Tue, 09 Apr 2002 00:28
Date: Tue, 09 Apr 2002 00:28
40 lines
2398 bytes
2398 bytes
Juergen Helbing <archiver@i3w.com> wrote: >> Well, if you're writing a module which simply takes a stream on input >> and sends back an encoded stream, you have to wait until you have all >> of the data before you write any output, because until you do, you >> don't know the size. > > Did you plan to encode very small fractions (100-1000 bytes) > with every encoder call ? My test code (available on my website) uses 1k buffers. It discards the input each time (just keeping count of the number of bytes to get the filesize) but has to keep the entire encoded output in a buffer until it's finished. > The maximum size for a message ca be considered to be 1 Meg. > Having two buffers with each 1 Meg might be acceptable. Not exactly optimal, though. :) >> You also have to have a way to get the filename into the module. > > You need this also for the subject line. That's an entirely different part of the code, though, nothing to do with the encoding. > It would be nice if you could explain your "API" in more detail. > I always thought that an external API would encode the full data > for one message. The actual API my test code is written for is the one for the Perl MIME-tools package, where you write a plug-in encoder which takes the raw stream on input and sends the encoded stream to output. Luckily, there is a way to grab higher-level objects and extract information from them, but that's just ugly. -- Jeremy | jeremy@exit109.com
Re: A better way to post binaries
Author: Bob Cousins
Date: Tue, 09 Apr 2002 00:53
Date: Tue, 09 Apr 2002 00:53
19 lines
1785 bytes
1785 bytes
The Archiver wrote: >Bob Cousins <bob@NOSPAM.lintilla.demon.co.uk> wrote: > >>Perhaps Juergen can justify why size is so important. > >Size is not important at all. Why is it a mandatory parameter on ybegin then? >"Stream encoding" has never been a topic for me - because >all autoposters need to buffer a full message in memory >(or on harddisk). Sorry, I forgot yEnc was just for your benefit. -- Bob Cousins
Re: A better way to post binaries
Author: Andrew - Supernews
Date: Tue, 09 Apr 2002 01:20
Date: Tue, 09 Apr 2002 01:20
27 lines
1932 bytes
1932 bytes
In article <Xns91EA9F9F641A8vegasedvegasedvegase@64.152.100.164>, Ed wrote: > Refresh my memory. TCP/IP splits it all into fixed size chunks, right? no > That has nothing to do with making the parts less-likely to be lost does > it? it means that you can send more than N bytes through a link that has a packet size limit of N bytes, which would otherwise be impossible > When was the TCP/IP packet size fixed? it's not fixed (though in practice the Ethernet frame size limit is the one that matters - but things like PPPoE that reduce the size limit have had interesting consequences) > At that time, what percent of the > average feed pipe did one packet take up? What percentage of the average > feed pipe today does a tcp/ip packet take up? these are not meaningful questions -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: A better way to post binaries
Author: The Archiver
Date: Tue, 09 Apr 2002 04:19
Date: Tue, 09 Apr 2002 04:19
44 lines
2698 bytes
2698 bytes
Ed <vegased@bigfoot.com> wrote: >> This is not very difficult to do - but I'd even prefer to leave it "as >> it is". It shows users definitely that server are limiting by size - >> and it permits them to ask the sender to use a smaller partsize. >> > >So it shows users that their server is limiting by size so they can >request a repost in with smaller articles? It mainly shows that some users are sending out binaries with a wrong split-setting. >So, we use more bandwidth to >post the same data and probably force that admin to go to smaller sizes >or for all of the users on the server to get shorter retention. Then >there is the cost of invreased overviews, and the need to downlaod more >headers! Filtering content based on size is nothing I would recommend. >Like I said, make them all the same saize to prevent this problem. Why >do you insist that anyone who limits the size of a post should be forced >to take more binaries by recommending that the sizes of new posts should >be smaller? If a posting program would create "equal bytes" for every partial messages then users could (and would) still reduce the size until the messages are distributed. If we want to permit NSPs to filter out binaries effectively, then we should not enforce old methods which did never work - and which will never work. Instead we need to label binary posts properly. This is actually under discussion - and is also a design target for [BinFor]. btw.: Already today providers could easily detect binaries and filter them - especially for yEncoded posts this is just a snip (and a few CPU cycles :-) -- Juergen
Re: Request to binary posting program programmers
Author: The Archiver
Date: Tue, 09 Apr 2002 04:29
Date: Tue, 09 Apr 2002 04:29
49 lines
2962 bytes
2962 bytes
Ed <vegased@bigfoot.com> wrote: >I believe that you and I pretty much agree. The question is how to get >the writers of the posting programs to change? This is not a question of software writers. It is a question of user demands. >Also, is there a reason why the posting program authors don't all post >same size articles? Yes, there is no 'standard' for binary articles yet. If you follow [BinFor] for a few months then you will see the standard growing slowly. And there arte also other reasons: Huge movies would be posted with a larger size (7500-15000) lines. Music could be posted at 5000 lines. But on binary picture groups a splitting at a lower size is still acceptable. >I agree that 500K or so is a good starting point. Actually a part size of 500k guarantees bad distribution. >It would be nice if the programs also forced the size up if too many >parts were generated. Not sure what number to use there, but maybe >trying to keep the number of parts between 1 and 20 with the size of each >part between 250KB and 1MB. That would cover all posts of 20MB or less. This is the topic of "splitting huge files". If someone posts a 500 meg video then we need a "standard" way for splitting the message into parts. The "natural way" would be to really post 1000 parts. But as the existing infrastructure is partially rejecting the transport of multiparts with 1000 (or more) parts we need a "general way" to split the video into part - and then post these parts as partial messages. Today uses are doing this with WinRAR and MasterSplitter. But we need to define a "standard" method for this - or admins change their setups and accept also a 750 MB video splitted into 1500 parts. I am actually working on this topic for [BinFor]. It will include splitting, compression, PAR file sets - and additional information. There are _far_ more problems to solve with [BinFor] than just "equal size for all posts". :-) -- Juergen
Re: A better way to post binaries
Author: The Archiver
Date: Tue, 09 Apr 2002 04:39
Date: Tue, 09 Apr 2002 04:39
54 lines
2569 bytes
2569 bytes
Jeremy <jeremy@exit109.com> wrote: >> Fetching the headers is a difficult job with all that filtering and analysis >> done - so I'm afraid that "major changes" to these software parts could >> cause a serious delay in the acceptance. > >You have that low an opinion of newsreader programmers? The more complex the changes are the longer they will take. And changing the entire strategy for fetching headers is critical. Did you ever write I multi-host downloader - which is today "state-of-the-art" for binary downloaders ? These routines are _very_ complex. Of course newsreader programmers _will_ change it - and if we offer a good algorithm then it will be done faster. >Luckily, the change doesn't need to be made in order for the thing to work. Yes. >> Another comment from my side to the "Content-Header" you want >> to deliver for every binary message: It seems to be _very_ long. > >I'm not wild about the size of the thing; one reason I didn't want >to add the total file size. And we agree here. It is essential to keep the overview information as small as possible. >> (1/123) is simply shorter than part=1; total=123 > >You think it should be in that format? No, 7 bytes are less than 18 - that's all. If it would be up to _me_ then the "part" information would be encoded even more compact. >> This is exactly what I'd like. >> I will soon be able to write a new "yEnc & MIME" doc :-) > >Not just another document -- the next step after what's on my site now >is an actual Internet-Draft, for the yEnc transfer-encoding. Hey, I'll use Copy+Paste !! But the appreciations will be added by myself :-) -- Juergen
Re: A better way to post binaries
Author: The Archiver
Date: Tue, 09 Apr 2002 04:48
Date: Tue, 09 Apr 2002 04:48
33 lines
2147 bytes
2147 bytes
Bob Cousins <bob@NOSPAM.lintilla.demon.co.uk> wrote: >>>Perhaps Juergen can justify why size is so important. >> >>Size is not important at all. > >Why is it a mandatory parameter on ybegin then? Because single part messages can be sent without CRC32. And size is then a method to find matching =ybegin =yend. And yEnc can create the "full file" even if some parts are missing - and add missing parts later. If yEnc would be used without =ybegin/=yend as a "naked" encoding, then we could remove those parameters (and perhaps find other method to implement this 'sexy' feature). But as long as we want to stay "backward compatible" we can maintain the benefits - and will stick with the odds. >>"Stream encoding" has never been a topic for me - because >>all autoposters need to buffer a full message in memory >>(or on harddisk). > >Sorry, I forgot yEnc was just for your benefit. I admit that I was completely unaware of the needs for "stream encoding" during the design of yEnc. And AFAIR this is the very first time (since July 2001) that someone raised this issue. -- Juergen
Re: A better way to post binaries
Author: Juergen Helbing
Date: Tue, 09 Apr 2002 05:09
Date: Tue, 09 Apr 2002 05:09
29 lines
1792 bytes
1792 bytes
Jeremy <jeremy@exit109.com> wrote: >> For every type of existing (and future) encoding API will would >> need such a data structure which is passed as a parameter. > >I can't imagine doing a "full-strength" implementation with that >kind of lack of modularization, these days. This is now a problem of "programming philosophy" and "modularisation". But I'm getting now a better impression why yEnc is considered to be "ugly". I'm curious how your modules will be able to create links between pics and thumbnails. Or how you will create MIME headers for autoposting 10 related files, some of them splitted - or even double splitted. A binary autoposter needs a lot of context information to do its job - and passing data structures to all involved modules is the way to solve it. I understand now your problems with the yEnc-Paramaters. But I'm sure that you can easily solve them :-) -- Juergen
Re: A better way to post binaries
Author: Juergen Helbing
Date: Tue, 09 Apr 2002 05:20
Date: Tue, 09 Apr 2002 05:20
37 lines
2206 bytes
2206 bytes
Jim Riley <jimrtex@pipeline.com> wrote: >Is this basically what has happened: > >[...] >Finally someone cried out, "This is insane, chopping an automobile in >1000 pieces and sending it in a 1000 separate envelopes." This is not insane. Also other web-applications are "chopping" things into pieces. There is also no good reason why TCP/IP sends messages with 1460 bytes per frame. They do this to permit re-transmission. And this is exactly why we do this on Usenet. For Web/FTP you need special method to restart "broken downloads" which is not even better. >And your solution was to use smaller letters so that only 800 >envelopes are needed. And Jeremy Nixon's was to add some bar codes. ROTFL ! You've made my day. I'm not sure if you are against binaries on Usenet at all. If you are, then this is OK for me. But if you want to introduce a completely new NNTP for sending binary messages then please consider that other people have done this already. But this is no longer NNTP - it is Freenet or P2P. We have been discussing better methods to send "true binaries" through Usenet - with access to files rather than messages. With Offset/Length parameters. And this might be a way to go. But this is _far_ in the future - because NNTP cant be changed quickly. -- Juergen
Re: A better way to post binaries
Author: Jim Riley
Date: Tue, 09 Apr 2002 07:24
Date: Tue, 09 Apr 2002 07:24
11 lines
1511 bytes
1511 bytes
On Mon, 8 Apr 2002 19:33:05 -0300, "Klaas" <spamhole@klaas.ca> wrote: >TCP/IP uses the same paradigm, splitting data into smaller, >less-likely to be lost, chunks. So how come when I ship a 100 mb truck via FTP, I don't have to split it into 200 parts and yEnc each part? -- Jim Riley
Re: A better way to post binaries
Author: Andrew - Supernews
Date: Tue, 09 Apr 2002 08:02
Date: Tue, 09 Apr 2002 08:02
21 lines
1917 bytes
1917 bytes
In article <08489.842205@archiver.winews.net>, The Archiver wrote: > "Stream encoding" has never been a topic for me - because > all autoposters need to buffer a full message in memory > (or on harddisk). "need to"? > It seems that "admins" an owners of "stable highspeed connections" > to their super NNTP-servers have a completely different approach to > NNTP-programming than "shareware authors" with slow modem/dsl > lines, line breakage and unreliable hosts. :-( neither Jeremy nor I have broadband/highspeed connections of _any_ sort, stable or otherwise. We have a reliable server, largely because we've put a lot of effort into _making_ it reliable, but that doesn't mean we're not familiar with unreliable ones. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: A better way to post binaries
Author: Joe Greco
Date: Tue, 09 Apr 2002 15:34
Date: Tue, 09 Apr 2002 15:34
80 lines
5111 bytes
5111 bytes
In news.software.nntp article <slrnab3vba.23sv.andrew+nonews@trinity.supernews.net>, andrew@supernews.com wrote: :In article <3cb1cbbb$0$82600$39de8f09@news.sol.net>, Joe Greco wrote: :> The problem of some servers only getting the last part is caused by :> restrictions upstream; if sites don't wish to transit large articles, then :> they're effectively nixing binaries. : :they're effectively nixing _some_ binaries. The average size of a :single-part binary post is much smaller than for the multipart deluge, :so it's not surprising that sites see a cutoff at around 300-400k as a :way of bringing the volume down to manageable levels without actually :dropping binaries altogether. I don't see too many sites doing that, I usually see it at about 100K, large enough for FAQ's and stuff (with that rationalization used). :Of coursem ideally they should also drop the groups that constitute the :bulk of said deluge, but that's a bit of a moving target. : :> Modern servers have the capability of detecting binaries in more :> sophisticated ways; : :heh; does Diablo have code in there for yenc yet? What about UCAR's :experimental encoding? or that other strange thing I see occasionally? Yes, for yEnc. Not for other experimental codings, /at this time/, but one of my todo projects is to detect unknown posts over some threshold size with lots of high bit characters as unknown-binary or something like that. Does that adequately address your question? :> admins should probably upgrade to modern software if :> that's why they're filtering large posts. : :you mean "ask that their upstream feeds upgrade to 'modern software'"? No, of course I don't, think about it: If they're dropping articles on size, then they're still getting the articles to be able to filter them on that criteria... :-) That's a separate issue from if they asked their upstreams for a maxsize when instead they meant "no binaries". :> I don't think it's worth too :> much time to work around it, because all that's going to happen is the :> last "small" post will be increased in size to a point where it is :> probably also going to get filtered. : :I think that's the idea. Well, that's fine, I guess, as long as it has no impact on the infrastructure (or even a mild benefit), who cares if it is done. :> Now, many servers cap size to 1MB, simply because it's a common software :> default. With that said, I'd strongly encourage a minimum required part :> size of at least half a meg, and preferably much more like 980KB - :> sufficiently shy of the common 1000000 or 1048576 size limits out there, :> but large enough that "parts missing due to simply insane numbers of :> parts" is substantially reduced. I'd like to *shoot* the folks posting :> 1000 or more 100KB posts, because losing 1 in 1000 is MUCH more likely to :> happen than 1 in 100. : :I'm sure I've mentioned here before the fact that we filter for too many :parts or part sizes too small. Really? Cool. Never heard of anyone doing that. Can you reveal your thresholds? :> However, if you have a 1.5MB post, I'd certainly agree that there's no :> penalty to posting 2 x 750KB posts, and that should be a workable :> exception. I mean that in a general sense: if you get N posts by :> breaking up your data into 980KB chunks, and instead you choose to :> post N posts of (total / N) size, there's no penalty for doing that. : :common posting programs seem to use a fixed part size which means that the :last part can be of any size 1-(N-1) (or even 0 in the case of some buggy :posting programs, grr). Hence the last part often gets through size limits :or filters that blocked the rest. Yeah, well. :-) I don't have any issue with evenly distributing the data in the same number of messages in order to avoid issues. ... JG
Re: A better way to post binaries
Author: Don Bruder
Date: Tue, 09 Apr 2002 16:00
Date: Tue, 09 Apr 2002 16:00
28 lines
2472 bytes
2472 bytes
In article <a8u4r1$2cd$1@slb0.atl.mindspring.net>, Jim Riley <jimrtex@pipeline.com> wrote: > On Mon, 8 Apr 2002 19:33:05 -0300, "Klaas" <spamhole@klaas.ca> wrote: > > >TCP/IP uses the same paradigm, splitting data into smaller, > >less-likely to be lost, chunks. > > So how come when I ship a 100 mb truck via FTP, I don't have to split > it into 200 parts and yEnc each part? Because TCP/IP, which FTP is built on top of (or wrapped around, if you prefer) takes care of all the splitting/recombining work at each end without you ever knowing that it happened. Also, FTP is specifically designed to transport files around the 'net. NNTP isn't. The fact that NNTP *CAN* be used for file-transport work is a patch applied to a kludge stacked on a hack. In real-world terms, it's a lot like using a hammer to unscrew a bolt. It can be made to work, if you do it *JUST RIGHT*, but the tool was most-definitely not designed for the task, so don't come griping to us when you beat the bejeebers out of your <insert delicate item here>. -- Don Bruder - dakidd@sonic.net <--- Preferred Email - unmunged I will choose a path that's clear: I will choose Free Will! - N. Peart Notice: My former ( dakidd@primenet.com / Dakidd@aaahawk.com ) addresses are now defunct. Mail sent to either address WILL NOT BE SEEN.
Re: A better way to post binaries
Author: Jeremy
Date: Tue, 09 Apr 2002 17:19
Date: Tue, 09 Apr 2002 17:19
28 lines
1867 bytes
1867 bytes
The Archiver <archiver@i3w.com> wrote: >>> (1/123) is simply shorter than part=1; total=123 >> >> You think it should be in that format? > > No, 7 bytes are less than 18 - that's all. > If it would be up to _me_ then the "part" information would be > encoded even more compact. It could be done with one parameter, seq=1/123 for example. The question is, is it worth it to save a few bytes? Also, another thing to keep in mind is that some of the parameters are optional. I don't expect the type parameter to be used very often, for example, it won't be useful for things like cd-images and such anyway. >> Not just another document -- the next step after what's on my site now >> is an actual Internet-Draft, for the yEnc transfer-encoding. > > Hey, I'll use Copy+Paste !! > But the appreciations will be added by myself :-) I claim no inherent right to be the sole author, if you want to contribute. :) -- Jeremy | jeremy@exit109.com
Re: A better way to post binaries
Author: Ed
Date: Tue, 09 Apr 2002 17:41
Date: Tue, 09 Apr 2002 17:41
20 lines
1808 bytes
1808 bytes
archiver@i3w.com (Juergen Helbing) wrote in news:27207.942205 @archiver.winews.net: > This is not insane. Also other web-applications are "chopping" > things into pieces. There is also no good reason why TCP/IP > sends messages with 1460 bytes per frame. > They do this to permit re-transmission. And this is exactly why > we do this on Usenet. > Way a second? Didn't someone tell me that tcp/ip did not use fixed size packets? Did I misunderstand something since you are now claiming that the frame (packet?) size is 'fixed'. Or is it that I asked the wrong question? -- Ed http://www.geeks.org/~ed/Usenet_Servers.html
Re: Request to binary posting program programmers
Author: Ed
Date: Tue, 09 Apr 2002 17:47
Date: Tue, 09 Apr 2002 17:47
16 lines
1587 bytes
1587 bytes
archiver@i3w.com (The Archiver) wrote in news:28296.942201 @archiver.winews.net: > There are _far_ more problems to solve with [BinFor] than just > "equal size for all posts". :-) > Where is this [binfor] discussion and it there going to be a formal process to approve it? -- Ed http://www.geeks.org/~ed/Usenet_Servers.html
Re: A better way to post binaries
Author: Joe Feser
Date: Tue, 09 Apr 2002 18:42
Date: Tue, 09 Apr 2002 18:42
37 lines
2914 bytes
2914 bytes
> I admit that I was completely unaware of the needs for "stream > encoding" during the design of yEnc. And AFAIR this is the very > first time (since July 2001) that someone raised this issue. > > -- > Juergen > I would call it the second time. It was one of the issues I brought up when we were emailing back and forth. My component has an interface for RawStream Encoding and MessageStream Encoding. For Stream encoding, I just allow the person to pass in two streams, input and output. What then do with the stream is up to them. I use it to pass data over the wire, sort of like a Base64 encoding. Given any steam that is passed in and the size of the parts the person wants, I know how many parts are required to encode the message. Then two methods are exposed to allow you to get a parts Raw Stream or a Stream that has the correct ybegin ypart yend information appended to it. This is very useful if you are creating messages with streams, you can pass in your message stream, tell it to append a part to the end of it, and go on your way. It's pretty efficient on memory. Joe
Re: A better way to post binaries
Author: Bob Cousins
Date: Tue, 09 Apr 2002 19:10
Date: Tue, 09 Apr 2002 19:10
20 lines
1957 bytes
1957 bytes
The Archiver wrote: >Bob Cousins <bob@NOSPAM.lintilla.demon.co.uk> wrote: > >>>>Perhaps Juergen can justify why size is so important. >>> >>>Size is not important at all. >> >>Why is it a mandatory parameter on ybegin then? > >Because single part messages can be sent without CRC32. >And size is then a method to find matching =ybegin =yend. >And yEnc can create the "full file" even if some parts are >missing - and add missing parts later. So now you are saying size is important. Make up your mind, for God's sake! -- Bob Cousins
Re: A better way to post binaries
Author: Bob Cousins
Date: Tue, 09 Apr 2002 19:19
Date: Tue, 09 Apr 2002 19:19
21 lines
2027 bytes
2027 bytes
Ed wrote: >archiver@i3w.com (Juergen Helbing) wrote in news:27207.942205 >@archiver.winews.net: > >> This is not insane. Also other web-applications are "chopping" >> things into pieces. There is also no good reason why TCP/IP >> sends messages with 1460 bytes per frame. >> They do this to permit re-transmission. And this is exactly why >> we do this on Usenet. >> > >Way a second? Didn't someone tell me that tcp/ip did not use fixed size >packets? Did I misunderstand something since you are now claiming that the >frame (packet?) size is 'fixed'. Or is it that I asked the wrong question? Juergen is talking nonsense of course, but I don't understand where your fixed size fixation arises. Is it important? -- Bob Cousins
Re: A better way to post binaries
Author: Andrew - Supernews
Date: Tue, 09 Apr 2002 22:40
Date: Tue, 09 Apr 2002 22:40
45 lines
3232 bytes
3232 bytes
In article <3cb30a0b$0$80227$39de8f09@news.sol.net>, Joe Greco wrote: > andrew@supernews.com wrote: >:they're effectively nixing _some_ binaries. The average size of a >:single-part binary post is much smaller than for the multipart deluge, >:so it's not surprising that sites see a cutoff at around 300-400k as a >:way of bringing the volume down to manageable levels without actually >:dropping binaries altogether. > > I don't see too many sites doing that, I usually see it at about 100K, > large enough for FAQ's and stuff (with that rationalization used). well, we have a number of peers with limits in that approximate region. I was also thinking of the fairly extensive work that Barry did some time back on article size distribution. >:you mean "ask that their upstream feeds upgrade to 'modern software'"? > > No, of course I don't, think about it: If they're dropping articles on > size, then they're still getting the articles to be able to filter them > on that criteria... :-) That's a separate issue from if they asked their > upstreams for a maxsize when instead they meant "no binaries". if someone's restricting their article size to save bandwidth, either because they can't handle the big multiparts or because they can't handle binaries at all, then they're going to ask their feeds for a maxsize rather than only use a locally-enforced limit. What good is it to receive 35-odd mbits of newsfeed traffic and then throw 90% or 99% of it away? >:I'm sure I've mentioned here before the fact that we filter for too many >:parts or part sizes too small. > > Really? Cool. Never heard of anyone doing that. Can you reveal your > thresholds? well, at the moment they're really aimed at stopping people who screw up the part size and try and post an entire CD image in 5kbyte parts, so the size threshold is rather less than 100k and the count threshold is somewhat higher than 1000. However, I have looked at the possibility of making it progressive, i.e. allowing two or three small parts, while making the size threshold much higher for posts with many parts. -- Andrew, Supernews http://www.supernews.com - individual and corporate NNTP services
Re: A better way to post binaries
Author: those who know me have no need o...
Date: Tue, 09 Apr 2002 22:48
Date: Tue, 09 Apr 2002 22:48
27 lines
2198 bytes
2198 bytes
<1018372783.176414@ok-corral.gunslinger.net> divulged: >The Archiver <archiver@i3w.com> wrote: >> If it would be up to _me_ then the "part" information would be >> encoded even more compact. > >It could be done with one parameter, seq=1/123 for example. The >question is, is it worth it to save a few bytes? also why discard the established mime precedent of making even the meta information human readable, usually. besides, why try to save a dozen or six bytes of a binary post. yes i know that's the point of yenc, to save bytes, but we're talking an overhead factor that is in the noise for this stuff. >I don't expect the type parameter to be used very often, for >example, it won't be useful for things like cd-images and such anyway. actually there are several different cd image formats, but even a straight iso image might be qualified as being audio, type 1, xa type 2, etc., so it could be useful. typically the filename tells the story, but if we're shooting for mime then sensitivity to the filename should be eschewed in favor of a proper type. -- bringing you boring signatures for 17 years
A marginally better way to post binaries (was A better way to post binaries)
Author: Jim Riley
Date: Wed, 10 Apr 2002 03:57
Date: Wed, 10 Apr 2002 03:57
40 lines
2713 bytes
2713 bytes
On 09 Apr 2002 07:20:27 +0200, archiver@i3w.com (Juergen Helbing) wrote: >Jim Riley <jimrtex@pipeline.com> wrote: > >>Is this basically what has happened: >>Finally someone cried out, "This is insane, chopping an automobile in >>1000 pieces and sending it in a 1000 separate envelopes." > >This is not insane. Also other web-applications are "chopping" >things into pieces. There is also no good reason why TCP/IP >sends messages with 1460 bytes per frame. >They do this to permit re-transmission. And this is exactly why >we do this on Usenet. Who is the "we" doing this on Usenet and who is the "we" doing it with TCP/IP? How many newsfeeds actively re-transmit in case of missing parts? >For Web/FTP you need special method to restart "broken downloads" >which is not even better. What do you mean by special method? And is Web/FTP the same as FTP? >>And your solution was to use smaller letters so that only 800 >>envelopes are needed. And Jeremy Nixon's was to add some bar codes. > >ROTFL ! You've made my day. >We have been discussing better methods to send "true binaries" >through Usenet - with access to files rather than messages. With >Offset/Length parameters. And this might be a way to go. But this is >_far_ in the future - because NNTP cant be changed quickly. I've changed the subject to reflect this. -- Jim Riley
Re: Request to binary posting program programmers
Author: Juergen Helbing
Date: Wed, 10 Apr 2002 04:37
Date: Wed, 10 Apr 2002 04:37
25 lines
1795 bytes
1795 bytes
Ed <vegased@bigfoot.com> wrote: >> There are _far_ more problems to solve with [BinFor] than just >> "equal size for all posts". :-) > >Where is this [binfor] discussion I've posted the first message to this group and got a few replies. More will follow. > and it there going to be a formal process to approve it? If you are asking for an RFC: No. [BinFor] will try to describe the actual "best practice" - but I believe that no RFC can be subject to monthly changes. I'm curious myself how many people want "rules" for this anarchic system. But because the usability is decreasing all the time we need at least to catch up. -- Juergen
Re: A better way to post binaries
Author: Juergen Helbing
Date: Wed, 10 Apr 2002 04:47
Date: Wed, 10 Apr 2002 04:47
18 lines
1474 bytes
1474 bytes
Jeremy <jeremy@exit109.com> wrote: >It could be done with one parameter, seq=1/123 for example. The >question is, is it worth it to save a few bytes? No, the "part=#; total=#;" is necessary for MIME. Your definitions are OK. I'm just curious how long the overview will be in the end. The overview is transported all the time. I just want that it is restricted to the _necessary_ things. All "options" which are only important if articles are really _retrieved_ should be in any other place/header. -- Juergen
Re: A better way to post binaries
Author: Juergen Helbing
Date: Wed, 10 Apr 2002 04:51
Date: Wed, 10 Apr 2002 04:51
21 lines
1357 bytes
1357 bytes
those who know me have no need of my name <not-a-real-address@usa.net> wrote: >besides, why try to save a dozen or six bytes of a binary post. Imagine 10.000 users downloading 10.000 headers for one newsgroup. This are 100.000.000 header lines. Ten bytes more or less is a Gig. Headers are retrieved usually by _all_ users. Even if they fetch not a single article. I agree that the MIME-standard paramaters - and all necessary information must be transmitted (in standard format). But we should be _really_ careful with spending bytes for "standard header download". -- Juergen
Re: A better way to post binaries
Author: Juergen Helbing
Date: Wed, 10 Apr 2002 04:58
Date: Wed, 10 Apr 2002 04:58
29 lines
2151 bytes
2151 bytes
"Joe Feser" <nntp@fesersoft.com> wrote: >> I admit that I was completely unaware of the needs for "stream >> encoding" during the design of yEnc. And AFAIR this is the very >> first time (since July 2001) that someone raised this issue. >I would call it the second time. >It was one of the issues I brought up when we were emailing back and forth. Uuhh.. Alzheimer at 45 ? Sorry. >Given any steam that is passed in and the size of the parts the person >wants, I know how many parts are required to encode the message. yEnc is usually having a variable output size, deviating by 1-3 %. The amount of encoded bytes per message is constant. >It's pretty efficient on memory. I admit that memory usage was dropped from my design targets since Win32 was invented (a long time ago). Perhaps I'm underestimating this. But someone who sends out a 500 meg video splitted into 1000 parts should really have more than 640 kBytes of RAM :-))) -- Juergen
Re: A better way to post binaries
Author: Juergen Helbing
Date: Wed, 10 Apr 2002 05:01
Date: Wed, 10 Apr 2002 05:01
28 lines
1985 bytes
1985 bytes
Bob Cousins <bob@NOSPAM.lintilla.demon.co.uk> wrote: >>>>>Perhaps Juergen can justify why size is so important. >>>> >>>>Size is not important at all. >>> >>>Why is it a mandatory parameter on ybegin then? >> >>Because single part messages can be sent without CRC32. >>And size is then a method to find matching =ybegin =yend. >>And yEnc can create the "full file" even if some parts are >>missing - and add missing parts later. > >So now you are saying size is important. Make up your mind, for God's >sake! Please apologize for the confusion. Size is _important_ if yEnc is used only in the text-body - and if we want compatibility to existing decoders. With MIME-headers where the SIZE is already in the MIME headers it is not important. So it is both in this thread. -- Juergen
Re: A better way to post binaries
Author: Juergen Helbing
Date: Wed, 10 Apr 2002 05:10
Date: Wed, 10 Apr 2002 05:10
29 lines
1965 bytes
1965 bytes
andrew+nonews@supernews.com (Andrew - Supernews) wrote: >> "Stream encoding" has never been a topic for me - because >> all autoposters need to buffer a full message in memory >> (or on harddisk). > >"need to"? I would not write an autoposter which is spooling out a message by NNTP "in the flight" with permanent access to the original binary source file. I'd rather compose the full message - and then send it out. But this is programming strategy. And I'm not familiar with yours (as you see). >neither Jeremy nor I have broadband/highspeed connections of _any_ sort, >stable or otherwise. We have a reliable server, largely because we've put >a lot of effort into _making_ it reliable, but that doesn't mean we're >not familiar with unreliable ones. I've still the impression that we are sometimes living in different worlds. So our cooperation might be useful to all of us. -- Juergen
Re: A better way to post binaries
Author: Juergen Helbing
Date: Wed, 10 Apr 2002 05:20
Date: Wed, 10 Apr 2002 05:20
43 lines
2397 bytes
2397 bytes
Jim Riley <jimrtex@pipeline.com> wrote: >>TCP/IP uses the same paradigm, splitting data into smaller, >>less-likely to be lost, chunks. > >So how come when I ship a 100 mb truck via FTP, I don't have to split >it into 200 parts and yEnc each part? And FTP client without "recovery after disconnect" is unusable for a 100 MB file today. The most common wish for "large file downloading" is to "continue downloading" also for HTTP. People who are using this form of binary distribution are even using full applications for large downloads (called "Download Managers") to be able to download huge files at all. And if it comes to slow servers (or P2P) then only strategies as used by "FastTrak" (segmenting large downloads) are working at all. Everybody who believes that a 700 MB CdRom can be transferred by FTP or HTTP alone over TCP/IP (without additional mechanisms) is an idealists and should come back to the real world. There are good reasons for segmenting and splitting. And it is pretty amazing (for me) to see that NNTP has had this approach from the beginning. Perhaps I am wrong here - but can any of the admins here imagine that a "Binary Usenet" could transfer a 500 MB file in one message reliably ? I can't. As I'm actually writing on [BinFor] I am still looking for a good "standard-part-size" for transfer of huge binary messages. Would this be 1 Meg, 5 Megs, 10 Megs, 50 Megs ? Any ideas ? -- Juergen
Re: A better way to post binaries
Author: Juergen Helbing
Date: Wed, 10 Apr 2002 05:23
Date: Wed, 10 Apr 2002 05:23
26 lines
1656 bytes
1656 bytes
Ed <vegased@bigfoot.com> wrote: >> This is not insane. Also other web-applications are "chopping" >> things into pieces. There is also no good reason why TCP/IP >> sends messages with 1460 bytes per frame. >> They do this to permit re-transmission. And this is exactly why >> we do this on Usenet. >> > >Way a second? Didn't someone tell me that tcp/ip did not use fixed size >packets? Correction: "There is also no good reason why TCP/IP" --> "There is also _a_ good reason why TCP/IP" "Re-Transmission" requires splitting up transfers into smaller chunks. It would not make sense to send out TCP/IP-packets with a size of 1.000.000 bytes (or one Usenet message in one packet). -- Juergen
Re: A marginally better way to post binaries (was A better way to post binaries)
Author: Juergen Helbing
Date: Wed, 10 Apr 2002 05:33
Date: Wed, 10 Apr 2002 05:33
59 lines
3123 bytes
3123 bytes
Jim Riley <jimrtex@pipeline.com> wrote: >>This is not insane. Also other web-applications are "chopping" >>things into pieces. There is also no good reason why TCP/IP >>sends messages with 1460 bytes per frame. >>They do this to permit re-transmission. And this is exactly why >>we do this on Usenet. > >Who is the "we" doing this on Usenet and who is the "we" doing it with >TCP/IP? Every large data streams are splitted into smaller parts today. This is all what I wanted to say. >How many newsfeeds actively re-transmit in case of missing >parts? Every user is retransmitting posts (or parts) in case of failure. And every user is downloading missing parts again - or restarts a download after trouble. The fact that some "full-newsfeeds" are not re-transmitting is a part of the problem. The general argument "the flood mechanism will fix it" is also a part of them problem. >>For Web/FTP you need special method to restart "broken downloads" >>which is not even better. > >What do you mean by special method? And is Web/FTP the same as FTP? Please see my other reply. >>We have been discussing better methods to send "true binaries" >>through Usenet - with access to files rather than messages. With >>Offset/Length parameters. And this might be a way to go. But this is >>_far_ in the future - because NNTP cant be changed quickly. > >I've changed the subject to reflect this. What would be "marginally" ? The ways we are discussing today - or the "true binary transport" ? Please keep one thing in your mind: It is close to impossible to change the message format _plus_ the transport at the same time for Usenet. We have now changed the message-format (to 253 out of 256 bytes). As soon as the transport (NNTP) is able to transport 256/256 bytes we will be able to change _easily_ our message format to use this new feature. "Marginally" is OK for me - we are doing one step after the other. Some people are trying to make three steps in one - and they never succeed. So I beleive that "marginally" better ways are the only way we can go. -- Juergen
Re: A better way to post binaries
Author: Claus Färber
Date: Wed, 10 Apr 2002 10:49
Date: Wed, 10 Apr 2002 10:49
15 lines
1591 bytes
1591 bytes
Juergen Helbing <archiver@i3w.com> schrieb/wrote: > Jeremy <jeremy@exit109.com> wrote: >> It could be done with one parameter, seq=1/123 for example. The >> question is, is it worth it to save a few bytes? > No, the "part=#; total=#;" is necessary for MIME. Only if you extend one of the existing content types (e.g. message/partial). Claus -- ------------------------ http://www.faerber.muc.de/ ------------------------ OpenPGP: DSS 1024/639680F0 E7A8 AADB 6C8A 2450 67EA AF68 48A5 0E63 6396 80F0
Re: A better way to post binaries
Author: Jonathan Grobe
Date: Wed, 10 Apr 2002 15:08
Date: Wed, 10 Apr 2002 15:08
21 lines
1745 bytes
1745 bytes
In article <38207.a42205@archiver.winews.net>, Juergen Helbing wrote: > >As I'm actually writing on [BinFor] I am still looking for a >good "standard-part-size" for transfer of huge binary messages. >Would this be 1 Meg, 5 Megs, 10 Megs, 50 Megs ? >Any ideas ? Probably the weak link in the chain is the downloader at the end of a dialup connection. So think in terms of supposing he loses his connection and has to re-download the segment. So how much a user with a 56k connection can download in 15 minutes or a 28k connection download in a half an hour is the type of limit I would think appropriate. What kind of times and consequently size limits would you think appropriate looking at it from this point of view? -- Jonathan Grobe
Re: A marginally better way to post binaries (was A better way to post binaries)
Author: Jeremy
Date: Wed, 10 Apr 2002 16:16
Date: Wed, 10 Apr 2002 16:16
20 lines
1597 bytes
1597 bytes
Jim Riley <jimrtex@pipeline.com> wrote: >> They do this to permit re-transmission. And this is exactly why we do >> this on Usenet. > > Who is the "we" doing this on Usenet The users of the binary groups. > How many newsfeeds actively re-transmit in case of missing parts? That's what the users do. They send their stuff, if a piece of it doesn't make it through, they send it again. Thing is, all too often they send the *entire* file again, rather than just the piece, because it's very difficult to send just that piece, and very difficult to stitch that piece back into the file at the other end. -- Jeremy | jeremy@exit109.com
Re: A better way to post binaries
Author: Joe Feser
Date: Wed, 10 Apr 2002 16:28
Date: Wed, 10 Apr 2002 16:28
63 lines
4195 bytes
4195 bytes
> > >It's pretty efficient on memory. > > I admit that memory usage was dropped from my design targets > since Win32 was invented (a long time ago). > Perhaps I'm underestimating this. > But someone who sends out a 500 meg video splitted into 1000 parts > should really have more than 640 kBytes of RAM :-))) > > -- > Juergen > > My original statement: This is very useful if you are creating messages with streams, you can pass in your message stream, tell it to append a part to the end of it, and go on your way. It's pretty efficient on memory. Is really talking about creating messages inline. Instead of the standard String return from a method and using that to append to your message, I am allowing someone to pass in the stream they want the message appeneded, this doesn't have to be an NNTP message, lets say it's a network stream or something, and what I do is use a smaller buffer to copy data from one stream to another. So lets say the part or message was 10 megs, not realistic for NNTP, but to show a point. On a Method call of something like GetMeAnEncodedVersion() as string you would have to allocate a buffer of 10 megs and pass it back to the client. then the person would place that 10 meg string into a message of some type. Until the user kills the reference to the string, you are now using 20 megs. It adds up. So in my case, The max memory you have is the 10 megs if you are using a MemoryStream for both operations. My application has a threshold that once it's hit, it starts using the filesystem. If the user is writting efficient code, they should never hit it. If the user is keeping 200 messages or something insane referenced, then the memory could quickly hit 200mb or so. Most of the Optimizations I am performing are on the decoding side, I have 4 gb of raw messages from alt.binaries.test.yenc. My goal today is to peform a for each file in directory type of thing to test that my app can reattach files in any order back together. I only have 1.5 GB of ram so I don't want to try to load everything up in memory so I am caching data to specified streams. Yes I am just going on and on. It may be an overkill, it may not be needed. For what I am doing, the way it's being done, it allows me to be flexable. That was really my point. Joe
Re: A better way to post binaries
Author: Jeremy
Date: Wed, 10 Apr 2002 18:06
Date: Wed, 10 Apr 2002 18:06
26 lines
1939 bytes
1939 bytes
those who know me have no need of my name <not-a-real-address@usa.net> wrote: >> It could be done with one parameter, seq=1/123 for example. The >> question is, is it worth it to save a few bytes? > > also why discard the established mime precedent of making even the meta > information human readable, usually. besides, why try to save a dozen or > six bytes of a binary post. Hey, I'm not saying I'm thinking it's a good idea, I'm just asking if someone else does. I'm open for suggestion, here. :) >> I don't expect the type parameter to be used very often, for example, >> it won't be useful for things like cd-images and such anyway. > > actually there are several different cd image formats, but even a straight > iso image might be qualified as being audio, type 1, xa type 2, etc., so it > could be useful. typically the filename tells the story, but if we're > shooting for mime then sensitivity to the filename should be eschewed in > favor of a proper type. Yeah, true. -- Jeremy | jeremy@exit109.com
Re: A better way to post binaries
Author: Ed
Date: Wed, 10 Apr 2002 18:31
Date: Wed, 10 Apr 2002 18:31
30 lines
2059 bytes
2059 bytes
archiver@i3w.com (Juergen Helbing) wrote in news:48516.a42201 @archiver.winews.net: > Imagine 10.000 users downloading 10.000 headers for one newsgroup. > This are 100.000.000 header lines. > Ten bytes more or less is a Gig. > > Headers are retrieved usually by _all_ users. > Even if they fetch not a single article. > > I agree that the MIME-standard paramaters - and all necessary > information must be transmitted (in standard format). > > But we should be _really_ careful with spending bytes for > "standard header download". > However if the change also caused the average size of each article to double, then there would only be 5,000 headers for that news group. That would reduce the header lines downloaded in your example to only 50,000,000 At that point, adding more bytes per header is not as big of an issue. So, maybe size does matter. -- Ed http://www.geeks.org/~ed/Usenet_Servers.html
Re: A better way to post binaries
Author: Ed
Date: Wed, 10 Apr 2002 18:40
Date: Wed, 10 Apr 2002 18:40
28 lines
2336 bytes
2336 bytes
grobe@netins.net (Jonathan Grobe) wrote in news:slrnab8lak.bf4.grobe@worf.netins.net: > Probably the weak link in the chain is the downloader at the > end of a dialup connection. So think in terms of supposing he > loses his connection and has to re-download the segment. So how > much a user with a 56k connection can download in 15 minutes > or a 28k connection download in a half an hour is the type of > limit I would think appropriate. What kind of times and > consequently size limits would you think appropriate looking at > it from this point of view? > I don't know of anyone with a 56k connection. I do now that with a 46.7K connection you can get 20MB per hour. As a general rule where I am, connections will stay solid for several hours. With a 28.8K modem I was able to get 12MB-14MB per hour. So 30 minutes on a 28.8 line would work out to be about 6MB-8MB. Gee, maybe I should stop pushing for 1MB posts since your logic gets a lot bigger then that. ;-) -- Ed http://www.geeks.org/~ed/Usenet_Servers.html
Re: A marginally better way to post binaries (was A better way to post binaries)
Author: Ed
Date: Wed, 10 Apr 2002 18:48
Date: Wed, 10 Apr 2002 18:48
41 lines
2694 bytes
2694 bytes
Jeremy <jeremy@exit109.com> wrote in news:1018455397.779547@ok- corral.gunslinger.net: > Jim Riley <jimrtex@pipeline.com> wrote: > >>> They do this to permit re-transmission. And this is exactly why we do >>> this on Usenet. >> >> Who is the "we" doing this on Usenet > > The users of the binary groups. > >> How many newsfeeds actively re-transmit in case of missing parts? > > That's what the users do. They send their stuff, if a piece of it > doesn't make it through, they send it again. Thing is, all too often > they send the *entire* file again, rather than just the piece, because > it's very difficult to send just that piece, and very difficult to > stitch that piece back into the file at the other end. > OK, but why does the user need to do this? The simple answer is because the usenet servers are not able to detect this type of problem and get the missing pieces. So we leave it up to the user to 'fix' the problem. If the problem was automatically fixed, then the user would not be required to do somthing and they would not have to do it wrong, or right for that matter. Possible solutions for detecting and fixing this have been discussed in the past. While they would not automatically fix the problem the second that it occurs, they could easily fix the problem in a few hours. I suspect that would be acceptable. Especially if the solution has a proven track record. -- Ed http://www.geeks.org/~ed/Usenet_Servers.html
Re: Request to binary posting program programmers
Author: Ed
Date: Wed, 10 Apr 2002 18:57
Date: Wed, 10 Apr 2002 18:57
34 lines
2571 bytes
2571 bytes
archiver@i3w.com (Juergen Helbing) wrote in news:50376.a42200 @archiver.winews.net: > I'm curious myself how many people want "rules" for this > anarchic system. But because the usability is decreasing > all the time we need at least to catch up. > Interesting question. I want to see change. I want those changes to improve completion, reduce reposting, reduce headers and a few other things. I also want them to not create new problems and represent the equal inclusion of ideas from the best minds currently dealing with usenet. Now, if we can do that without having an rfc and get the changes implemented at the servers and in most news readers then fine. But we need some process to make sure that the changes are thought out. And no, I would not object to controlled trials to see what we can and can not do. After all, no one can predict what will really happen when you make many changes. Who needs to be involved? Admins, server code writeres, reader code writers and users (both posters and readers). I might add network admins, but I think the other 4 groups would more then cover their requirements. -- Ed http://www.geeks.org/~ed/Usenet_Servers.html
Re: A better way to post binaries
Author: those who know me have no need o...
Date: Wed, 10 Apr 2002 21:59
Date: Wed, 10 Apr 2002 21:59
19 lines
1711 bytes
1711 bytes
<1018461963.108020@ok-corral.gunslinger.net> divulged: >those who know me have no need of my name <not-a-real-address@usa.net> >wrote: >>> It could be done with one parameter, seq=1/123 for example. The >>> question is, is it worth it to save a few bytes? >> >> also why discard the established mime precedent of making even the meta >> information human readable, usually. besides, why try to save a dozen or >> six bytes of a binary post. > >Hey, I'm not saying I'm thinking it's a good idea, I'm just asking if >someone else does. I'm open for suggestion, here. :) then take my response as `let's do it the mime-ish way.' -- bringing you boring signatures for 17 years
Page 2 of 5 • 205 total messages
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