9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* Re: [9fans] Essay: Is network transparency something bad?
@ 2002-10-24 17:08 Russ Cox
  2002-10-24 17:16 ` John Saylor
  2002-10-25 12:08 ` Ram'on Garc'ia Fern'andez
  0 siblings, 2 replies; 22+ messages in thread
From: Russ Cox @ 2002-10-24 17:08 UTC (permalink / raw)
  To: 9fans

I had very little to do with the design of Plan 9, but...

I think the right statement of his complaint is that
systems should not ignore the difference between remote
and local resources.  Having different interfaces is
one way to force system programmers to keep the difference
foremost in their minds.  What he doesn't address is that
doing so limits the generality of your tools.

Typical Plan 9 configurations don't go and grab this
resource from that machine and on and on -- most resources
are local -- but when you _want_ to, say, replace your /net with
someone else's /net, it's really nice that all your tools
still just work.

I agree with the premise (that you shouldn't ignore the
difference), but not the conclusion that it's up to the system
designer to enforce discipline on the users and other
programmers.  The argument is something like

	- people do stupid things with x
	- let's not anyone do x

and the fallacy is that if you know what you're doing
it's very useful to do x.  Why tie your own hands behind
your back just so that people have to find some other
way to do stupid things?

Russ


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] Essay: Is network transparency something bad?
@ 2002-10-25  7:24 Fco.J.Ballesteros
  0 siblings, 0 replies; 22+ messages in thread
From: Fco.J.Ballesteros @ 2002-10-25  7:24 UTC (permalink / raw)
  To: 9fans

> For example, he states "1.  Availability, 2.  Latency and 3.
> Reliability" as the major differences between the local and remote
> resources.  That difference would apply to any two different medium
> like a pair of telephones and a pair of cans connected by a string.

Well, I've never seen a local procedure call suffer from any of them.
However, an rpc might do so.

I think we probably agree that one nice thing of Plan 9 is that you
(1) may control what comes from where (no transparency here), but then you
(2) may just use the resources always in the same way (here you got your
transp.).

I wouldn't like to loose 1 or 2; I just need both to keep things working
and simple.




^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] Essay: Is network transparency something bad?
@ 2002-10-24 21:49 Skip Tavakkolian
  2002-10-25  2:04 ` paurea
  0 siblings, 1 reply; 22+ messages in thread
From: Skip Tavakkolian @ 2002-10-24 21:49 UTC (permalink / raw)
  To: 9fans

This is not an excuse, but if you are having connectivity problems
what difference would it make if /net is mounted locally or imported?

There are several remarks about "reliability" of a remote resources in
that article and hinted at here, but the fact is that the reliability
of a cpu server under the control of a professional getting paid to
maintain it -- as in an ISP or an enterprise setup -- would be much
higher than your average (desk|lap|palm)top.

> Hmmm. I have been using Plan 9 over a wireless with a lot of delay
> today (for some strange reason I can't really understand). Hangups and
> timeouts are really painful. Things like importing /net on all your system,
> getting a big delay, a hangup, and getting all your applications blocked are the
> sort of things he talks about. This can happen in Plan 9. Importing
> /net is powerful, but when it bites, it bites hard!!!.



^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] Essay: Is network transparency something bad?
@ 2002-10-24 17:54 rog
  2002-10-24 18:40 ` Scott Schwartz
  2002-10-24 22:09 ` Steve Kilbane
  0 siblings, 2 replies; 22+ messages in thread
From: rog @ 2002-10-24 17:54 UTC (permalink / raw)
  To: 9fans

> But I don't think there's a single right answer to this. As we perl
> programmers often say, "there's more than one way to do it."

i think plan 9's approach is better than the more usual "network
transparency" where a function or method invocation is turned into an
RPC behind your back.

at least in the plan 9 way, it is well documented that all system
calls can potentially block for a long period of time, and they have
error returns that can describe the arbitrary errors that can be
associated with network transfers.

so it's quite possible to write programs in the light of that
knowledge (a decent threads library makes that easier too).
i don't think it's so easy with, for instance, Java RMI
(but i'd be glad to be contradicted).

it's interesting to see what *does* lock up when a file access takes
an unexpectedly long time (e.g.  accessing the dump fs).  for instance
acme locks while it's opening a file; rio locks when plumbing a file.

  rog.



^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] Essay: Is network transparency something bad?
@ 2002-10-24 16:43 Skip Tavakkolian
  0 siblings, 0 replies; 22+ messages in thread
From: Skip Tavakkolian @ 2002-10-24 16:43 UTC (permalink / raw)
  To: 9fans

> Can one *really* say ``Hello'' over two cans connected by a string, though?

"Hello" as a metaphor for 9P, and a link of 64kbps (ISDN) or better,
the answer is yes.

Literally,  yes also;  here is the obligatory link-o-credibility:
http://www.howstuffworks.com/question410.htm

Mostly though, people say hello over a can of beer.



^ permalink raw reply	[flat|nested] 22+ messages in thread
* [9fans] Essay: Is network transparency something bad?
@ 2002-10-24 15:51 Ramon Garcia
  2002-10-24 17:36 ` Dan Cross
  0 siblings, 1 reply; 22+ messages in thread
From: Ramon Garcia @ 2002-10-24 15:51 UTC (permalink / raw)
  To: 9fans

Hello,

The following essay, by the former program manager of Microsoft Excel
Joel Spolsky, criticizes network transparency (among other ideas).

http://www.joelonsoftware.com/articles/fog0000000041.html

It would be interesting to know the opinions of Plan9 designers.

Ramon


^ permalink raw reply	[flat|nested] 22+ messages in thread
* Re: [9fans] Essay: Is network transparency something bad?
@ 2002-10-24 15:09 Skip Tavakkolian
  2002-10-24 18:58 ` Dan Cross
  0 siblings, 1 reply; 22+ messages in thread
From: Skip Tavakkolian @ 2002-10-24 15:09 UTC (permalink / raw)
  To: 9fans

He states a truism, makes it sound profound by using emphatic
hyperbole, then states his wrong conclusion as fact.  One shouldn't
expect less of the M$ PM mindset, even from a former one.

For example, he states "1.  Availability, 2.  Latency and 3.
Reliability" as the major differences between the local and remote
resources.  That difference would apply to any two different medium
like a pair of telephones and a pair of cans connected by a string.
Does that mean you couldn't say "hello" over both?

> The following essay, by the former program manager of Microsoft Excel
> Joel Spolsky, criticizes network transparency (among other ideas).
>
> http://www.joelonsoftware.com/articles/fog0000000041.html



^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2002-10-25 14:40 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-24 17:08 [9fans] Essay: Is network transparency something bad? Russ Cox
2002-10-24 17:16 ` John Saylor
2002-10-25 11:44   ` Boyd Roberts
2002-10-25 12:08 ` Ram'on Garc'ia Fern'andez
2002-10-25 13:31   ` Boyd Roberts
  -- strict thread matches above, loose matches on Subject: below --
2002-10-25  7:24 Fco.J.Ballesteros
2002-10-24 21:49 Skip Tavakkolian
2002-10-25  2:04 ` paurea
2002-10-24 17:54 rog
2002-10-24 18:40 ` Scott Schwartz
2002-10-24 19:05   ` Ronald G Minnich
2002-10-24 19:25     ` Dan Cross
2002-10-24 19:32       ` Scott Schwartz
2002-10-25 13:10     ` Boyd Roberts
2002-10-24 22:09 ` Steve Kilbane
2002-10-24 16:43 Skip Tavakkolian
2002-10-24 15:51 Ramon Garcia
2002-10-24 17:36 ` Dan Cross
2002-10-25  0:06   ` paurea
2002-10-25 14:40     ` Dan Cross
2002-10-24 15:09 Skip Tavakkolian
2002-10-24 18:58 ` Dan Cross

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).