Re: SANE Net backend suggestion...

David Mosberger-Tang (David.Mosberger@acm.org)
Wed, 1 Dec 1999 23:48:28 -0800

>>>>> On Tue, 30 Nov 1999 18:17:25 -0800, Brian Macy <bmacy@sunshinecomputing.com> said:

Brian> A bit of a thought that I've been interested in for quite
Brian> some time... what do you all think of having the net backend
Brian> writing the data during a scan to a file. At the same time a
Brian> thread (or whatever is appropriate) writes the file out the
Brian> data socket. That way if you have a slow network connection
Brian> (which it can easily be slower than a SCSI scanner) your
Brian> scanner doesn't play the two steps forward, one step back
Brian> game.

On the down-side, if the scan server doesn't have sufficient disk
space, it could prevent you from scanning altogether. Also, if you do
have a fast link, writing it to the disk could slow things down. I
still think it might be a good idea to do some buffering, but it's
something that needs careful consideration.

--david

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com