From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <5fa9fbfe115a9cd5a81d0feefe413192@quintile.net> <4fa1305e0f56a0ef89c2e05320fa5997@coraid.com> Date: Thu, 29 Apr 2010 08:18:36 -0700 Message-ID: From: ron minnich To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [9fans] A simple experiment Topicbox-Message-UUID: 12888c36-ead6-11e9-9d60-3106f5b1d025 On Thu, Apr 29, 2010 at 5:40 AM, roger peppe wrote: > what happens if the consumer is slow and the Rstream writer > blocks? how do you stop all the other replies on the connection > waiting for the consumer to get on with it? there are not replies -- the rstream is a reply. If the consumer is slow packets are lost. That's life. > > in fact, how do you stop it deadlocking if the consumer is in > fact waiting for one of those replies? ?? One Tstream. Lots of Rstreams. Zero interaction. > i suppose this comes down to what the API looks like. > isochronous might be easier, as a slow reader is a bad reader > so you could just throw away some data. Yes. ron