9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: David Leimbach <leimy2k@gmail.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net>
Subject: Re: [9fans] A simple experiment
Date: Thu, 29 Apr 2010 05:54:34 -0700	[thread overview]
Message-ID: <t2j3e1162e61004290554y3a1ea10br5f6ec89cc46ad4c1@mail.gmail.com> (raw)
In-Reply-To: <z2gdf49a7371004290540g29060151k700bac13f78f34dc@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1954 bytes --]

On Thu, Apr 29, 2010 at 5:40 AM, roger peppe <rogpeppe@gmail.com> wrote:

> On 28 April 2010 19:42, ron minnich <rminnich@gmail.com> wrote:
> > We did a simple experiment recently: added a new 9p type called
> > Tstream, because this issue of streams vs. transactions has been
> > bugging me for years. The semantics are simple: it's a lot like Tread
> > (almost same packet) but a single Tstream results in any number of
> > Rstreams, until you hit no more data (/dev/mouse) or maybe EOF
> > (/usr/rminnich/movie). Andrey tossed a sample implementation into
> > newsham's 9p library. We  saw a 27x improvement in performance from
> > calgary to sandia for a big file. Fcp did not come close.
>
> 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?
>
> in fact, how do you stop it deadlocking if the consumer is in
> fact waiting for one of those replies?
>
> 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.
>
>
It sounds ok on the surface so far.  Does RStream signal the end of the
stream chunks, or does the TStreamer already know that answer?  Is there any
sort of realtime constraint for handling incoming RStream chunks?   I would
think this could be ok, even if it forces the client to put the streamed
blocks somewhere handy while processing is going on.  Streaming audio and
video over plan 9 links this way might be nice.

But then I start to wonder why we feel we want to compete with HTTP when it
already works, and is still fairly simple.  Nothing wrong with improving 9P
I suppose, but what's so wrong with HTTP transfers that it warrants changing
our beloved resource sharing protocol?  Maybe I'm being too practical, and
not feeling adventurous or something :-)

Dave

[-- Attachment #2: Type: text/html, Size: 2376 bytes --]

  reply	other threads:[~2010-04-29 12:54 UTC|newest]

Thread overview: 90+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-27 17:38 ron minnich
2010-04-27 17:49 ` erik quanstrom
2010-04-27 18:05   ` Francisco J Ballesteros
2010-04-27 22:20   ` ron minnich
2010-04-27 22:22     ` erik quanstrom
2010-04-27 17:54 ` jake
2010-04-27 17:57   ` John Floren
2010-04-27 17:59     ` erik quanstrom
2010-04-27 18:35       ` John Floren
2010-04-27 18:56         ` Jorden M
2010-04-27 19:03         ` Skip Tavakkolian
2010-04-27 22:23           ` ron minnich
2010-04-28 11:51             ` Steve Simon
2010-04-28 13:18               ` Ethan Grammatikidis
2010-04-28 13:26                 ` erik quanstrom
2010-04-28 13:50                   ` Ethan Grammatikidis
2010-04-28 14:03                     ` erik quanstrom
2010-04-28 15:15                       ` Charles Forsyth
2010-04-28 13:20               ` erik quanstrom
2010-04-28 17:52               ` Tim Newsham
2010-04-28 17:57                 ` Tim Newsham
2010-04-28 18:00                 ` erik quanstrom
2010-04-28 18:42                   ` ron minnich
2010-04-28 19:06                     ` erik quanstrom
2010-04-28 19:40                       ` Russ Cox
2010-04-28 20:36                     ` Francisco J Ballesteros
2010-04-28 20:51                       ` ron minnich
2010-04-29 13:19                         ` Eric Van Hensbergen
2010-04-28 21:05                       ` EBo
2010-04-28 21:14                         ` ron minnich
2010-04-28 22:06                           ` EBo
2010-04-28 21:15                         ` Gorka Guardiola
2010-04-28 23:18                           ` [9fans] references/citations [was: A simple experiment] EBo
2010-04-28 21:18                       ` [9fans] A simple experiment Skip Tavakkolian
2010-04-28 23:04                         ` Francisco J Ballesteros
2010-04-29 12:40                     ` roger peppe
2010-04-29 12:54                       ` David Leimbach [this message]
2010-04-29 14:35                         ` erik quanstrom
2010-04-29 15:06                           ` David Leimbach
2010-04-29 15:24                             ` ron minnich
2010-04-29 15:34                             ` erik quanstrom
2010-04-29 16:06                               ` David Leimbach
2010-04-29 16:09                                 ` erik quanstrom
2010-04-29 17:08                               ` Bakul Shah
2010-04-29 17:20                                 ` ron minnich
2010-04-29 17:32                                   ` erik quanstrom
2010-04-30  2:30                                   ` Anthony Sorace
2010-04-30  4:27                                     ` erik quanstrom
2010-04-30 10:51                                     ` hiro
2010-04-30 14:46                                       ` Anthony Sorace
2010-04-29 17:23                                 ` erik quanstrom
2010-04-30  3:47                                   ` Bakul Shah
2010-04-30  5:01                                     ` erik quanstrom
2010-04-30 15:59                                       ` Bakul Shah
2010-04-30 16:13                                         ` erik quanstrom
2010-05-02 21:26                                           ` Bakul Shah
2010-04-29 18:52                               ` Lyndon Nerenberg
2010-04-29 19:03                                 ` erik quanstrom
2010-04-29 19:54                                   ` Skip Tavakkolian
2010-04-29 19:58                                     ` erik quanstrom
2010-04-29 20:25                                       ` erik quanstrom
2010-05-03 11:34                                   ` Akshat Kumar
2010-04-29 19:47                                 ` Skip Tavakkolian
2010-04-29 17:48                         ` Tim Newsham
2010-04-29 17:59                           ` David Leimbach
2010-04-29 18:41                             ` Skip Tavakkolian
2010-04-29 18:42                               ` David Leimbach
2010-04-29 19:48                                 ` Skip Tavakkolian
2010-04-29 19:44                         ` C H Forsyth
2010-04-29 19:58                           ` Skip Tavakkolian
2010-04-29 20:41                           ` David Leimbach
2010-04-29 14:22                       ` erik quanstrom
2010-04-29 14:36                         ` David Leimbach
2010-04-29 14:43                           ` erik quanstrom
2010-04-29 15:03                             ` David Leimbach
2010-04-29 15:16                               ` ron minnich
2010-04-29 15:25                                 ` Eric Van Hensbergen
2010-04-29 18:24                                   ` EBo
2010-04-29 15:06                             ` Gabriel Díaz
2010-04-29 20:32                               ` Christopher Nielsen
2010-04-29 20:40                                 ` erik quanstrom
2010-04-29 22:39                                   ` Christopher Nielsen
2010-04-29 20:45                                 ` hiro
2010-04-29 23:42                                 ` Derek Fawcus
2010-04-29 23:57                                   ` erik quanstrom
2010-04-30  9:44                                   ` Charles Forsyth
2010-04-29 15:18                       ` ron minnich
2010-04-27 22:21       ` ron minnich
2010-04-27 21:36 ` Federico G. Benavento
2010-04-27 21:54   ` EBo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=t2j3e1162e61004290554y3a1ea10br5f6ec89cc46ad4c1@mail.gmail.com \
    --to=leimy2k@gmail.com \
    --cc=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).