Locus, V, Mach: Difference between revisions

From Soma-notes
Rgould (talk | contribs)
No edit summary
Rgould (talk | contribs)
No edit summary
Line 25: Line 25:
# RPC can be abstracted from the protocol design
# RPC can be abstracted from the protocol design
# (Counter to fourth con) Use threads for interactivity. Manage complexity by doing things pairwise.
# (Counter to fourth con) Use threads for interactivity. Manage complexity by doing things pairwise.
#  
# (Counter to fifth con) - wrong!
# (Counter to seventh con) - Use standards (ORBs in CORBA, etc.) for authentication
# (Counter to eighth con) - But you specify the API
# (Counter to ninth con) - It's the same with other methods. But RPC makes it easier to do.


===Cons===
===Cons===
Line 36: Line 39:
# Authentication is opaque
# Authentication is opaque
# Larger attack surface area
# Larger attack surface area
# Poor match to listening (hard for server to communicate information back to client)
# Backwards compatibility is difficult
# RPC is not a "natural" interaction style - message passing is more similar to human communication
# Too much to set up for simple applications
# Less flexible


==Questions to be discussed==
==Questions to be discussed==

Revision as of 20:48, 16 January 2008

Readings

David R. Cheriton, "The V Distributed System."

Bruce Walker et al., "The LOCUS Distributed Operating System."

These two papers describe V and LOCUS, two early distributed operating systems.


Michael Young et al., "The Duality of Memory and Communication in the Implementation of a Multiprocessor Operating System."

This paper describes some key ideas behind Mach, a seminal microkernel-based operating system. The design of Mach informs later work in distributed operating systems. For more background on Mach, I suggest reading Wikipedia's article on Mach.

Debate

Debate about the pros and cons of RPC. Topic: RPCs are the right foundation for the distributed applications (on today's Internet).

Pros

  1. Easy to use
    • makes remove procedure calls look like local calls
    • local is easy
    • therefore remove is easy with RPC - good!
  2. (Counter to first con) Use standards, problem goes away
  3. Easy to debug
  4. Avoids complexity of protocol design
  5. RPC can be abstracted from the protocol design
  6. (Counter to fourth con) Use threads for interactivity. Manage complexity by doing things pairwise.
  7. (Counter to fifth con) - wrong!
  8. (Counter to seventh con) - Use standards (ORBs in CORBA, etc.) for authentication
  9. (Counter to eighth con) - But you specify the API
  10. (Counter to ninth con) - It's the same with other methods. But RPC makes it easier to do.

Cons

  1. Language/implementation specific
  2. (Counter to third pro) Not easy to debug. example: NullPointerException thrown on server, containing line of erroneous code running on the server.
  3. Counter to fifth pro) But there is more overhead - slower
  4. Synchronous - wrong model for large, distributed applications, and also bad for users
  5. Limited scalability - hard to do well
  6. Limited control of communication details
  7. Authentication is opaque
  8. Larger attack surface area
  9. Poor match to listening (hard for server to communicate information back to client)
  10. Backwards compatibility is difficult
  11. RPC is not a "natural" interaction style - message passing is more similar to human communication
  12. Too much to set up for simple applications
  13. Less flexible

Questions to be discussed

  1. What did the (technical) world look like when this distributed OS was designed & implemented?
  2. What are the key design features of the OS? What are the key compromises?
  3. To what extent is their system a "distributed operating system"?
  4. What is the basic argument for their design choices? What evidence do they cite in their favor?
  5. To what extent do you "believe" their design choices were right? Why?
  6. To what extent does their design work in the context of the modern Internet? Discuss wins and limitations.
  7. What concepts from the paper have been adopted by today's systems? What concepts should be adopted? What should be ignored?