sane-project-website/old-archive/1999-12/0043.html

70 wiersze
3.0 KiB
HTML

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

<!-- received="Sat Dec 4 18:27:03 1999 PST" -->
<!-- sent="Sat, 04 Dec 1999 18:26:32 -0800" -->
<!-- name="Brian Macy" -->
<!-- email="bmacy@sunshinecomputing.com" -->
<!-- subject="Re: SANE Net backend suggestion..." -->
<!-- id="" -->
<!-- inreplyto="SANE Net backend suggestion..." -->
<title>sane-devel: Re: SANE Net backend suggestion...</title>
<h1>Re: SANE Net backend suggestion...</h1>
<b>Brian Macy</b> (<a href="mailto:bmacy@sunshinecomputing.com"><i>bmacy@sunshinecomputing.com</i></a>)<br>
<i>Sat, 04 Dec 1999 18:26:32 -0800</i>
<p>
<ul>
<li> <b>Messages sorted by:</b> <a href="date.html#43">[ date ]</a><a href="index.html#43">[ thread ]</a><a href="subject.html#43">[ subject ]</a><a href="author.html#43">[ author ]</a>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0044.html">mabus: "aha152x, microtek e6, kernel 2.2.13"</a>
<li> <b>Previous message:</b> <a href="0042.html">Petter Reinholdtsen: "Re: SANE Net backend suggestion..."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>
<!-- body="start" -->
Petter Reinholdtsen wrote:<br>
<i>&gt; </i><br>
<i>&gt; What if you make a new meta backend, to do the buffering? Connecting</i><br>
<i>&gt; them like this should then give the wanted result:</i><br>
<i>&gt; </i><br>
<i>&gt; [Scanner client]</i><br>
<i>&gt; |</i><br>
<i>&gt; [net backend]</i><br>
<i>&gt; |</i><br>
<i>&gt; [net server]</i><br>
<i>&gt; |</i><br>
<i>&gt; [caching backend] &lt;- Write this to cache data on local disk</i><br>
<i>&gt; |</i><br>
<i>&gt; [dll backend]</i><br>
<i>&gt; |</i><br>
<i>&gt; [scanner backend]</i><br>
<i>&gt; </i><br>
<i>&gt; This means no changes to the net server, and the possibility to insert</i><br>
<i>&gt; the meta backend anywhere in the chain to speed up scanning.</i><br>
<p>
Hmmm... not sure it's worth it. The changes to saned will be very<br>
localized. Is there any circumstance besides the net backend and saned<br>
where the transmission medium between the backend and the client<br>
application is slower than the medium between the backend and the<br>
source? Besides the net backend the transmission medium is a unix socket<br>
or memory. You could say you might write a client that processes the<br>
data so slowly that it can't keep up but in that case I'd say it's the<br>
client's responsibility to figure out the best way to handle the data to<br>
prevent the source from stalling.<br>
<p>
Anyways, good idea regardless.<br>
<p>
Brian Macy<br>
<p>
<pre>
--
Source code, list archive, and docs: <a href="http://www.mostang.com/sane/">http://www.mostang.com/sane/</a>
To unsubscribe: echo unsubscribe sane-devel | mail <a href="mailto:majordomo@mostang.com">majordomo@mostang.com</a>
</pre>
<!-- body="end" -->
<p>
<ul>
<!-- next="start" -->
<li> <b>Next message:</b> <a href="0044.html">mabus: "aha152x, microtek e6, kernel 2.2.13"</a>
<li> <b>Previous message:</b> <a href="0042.html">Petter Reinholdtsen: "Re: SANE Net backend suggestion..."</a>
<!-- nextthread="start" -->
<!-- reply="end" -->
</ul>