Article View: news.software.nntp
Article #46513Re: Encoding binary data
From: Curt Welch
Date: Fri, 19 May 2000 00:00
Date: Fri, 19 May 2000 00:00
47 lines
2847 bytes
2847 bytes
Anne Wilson <anne@unidata.ucar.edu> wrote: > So, this is all great! and pretty darn close to optimal. I built a > prototype and was able to transfer thousands of products with a > relatively small effort. However, the devil is in the details. The > prototype I set up is clunky and slow so now I'm working on improving the > performance, which is how I arrived at this encoding issue. I think the issue you face is simply a small amount of software written "correctly". There is no reason for this stuff to be slow. I think you mentioned mime encoding taking minutes? So I assume you are talking about something which firsts conversts a very large file to a mime-encoded file, and then posts the mime-encoded file. If so, that's simply the wrong way to do it if speed is important to you. Convert it to mime (or whatever format you need) on the fly as you post it. > If the > protocol had specified that the end of the article would be determined by > a by a byte count instead of a CR/LF/'.' sequence I'd be walking on air! I don't understand why. If you write the code correctly, that makes no difference. You can read a file and write it the NNTP socket, doing the DOT processing, as fast as you can copy it. > I'm going to try to evaluate whether solving the encoding problem is too > high a price to pay. I don't know what type of programming resources you are working with, but the job of writing a program to post files is something that only takes a few days (if that). We aren't talking weeks of development unless you want a large and complex system with lots of options. > THANK YOU! to everyone who has contributed to this discussion. It has > been very valuable for me. > > Anne -- Curt Welch http://CurtWelch.Com/ curt@kcwc.com Webmaster for http://NewsReader.Com/
Technical Details
Message-ID:
<20000519151951.159$ye@newsreader.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:
<3921BBF8.F251A540@unidata.ucar.edu> <brad-EFB5E3.12323217052000@news.skynet.be> <3922D896.DE4D25D5@unidata.ucar.edu> <brad-828023.11565518052000@news.skynet.be> <3924479E.91CF73E4@unidata.ucar.edu>Show Full Headers
Complete Article Headers
Message-ID: <20000519151951.159$ye@newsreader.com>
Subject: Re: Encoding binary data
Date: Fri, 19 May 2000 00:00:00 +0000
From: curt@kcwc.com (Curt Welch)
References: <3921BBF8.F251A540@unidata.ucar.edu> <brad-EFB5E3.12323217052000@news.skynet.be> <3922D896.DE4D25D5@unidata.ucar.edu> <brad-828023.11565518052000@news.skynet.be> <3924479E.91CF73E4@unidata.ucar.edu>
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: 625514707
X-User: Curt@NewsReader.Com
X-Face: "p}G*1KH{+F7EYGKLb>ogDguabZ+%,?^epeFB!nzu`)`$=QcvL1KF6<0GH!Tbc!Sqo[|tV5 %IW48mQf3K=Ci&gZ7]]aazx@]Y-nq!r5{yH/#,?@lDdUDvOfByB2hVW0.@OM%{l/{cT'{w
Organization: NewsReader.Com
X-Url: http://CurtWelch.Com/
User-Agent: NewsReader.Com
Newsgroups: news.software.nntp