home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / drafts / draft_n_r / draft-newman-acap-imsp-lessons-01.txt < prev    next >
Text File  |  1996-12-23  |  12KB  |  338 lines

  1.  
  2.  
  3.  
  4.  
  5. Network Working Group                                          C. Newman
  6. Internet Draft: Lessons Learned from IMSP                       Innosoft
  7. Document: draft-newman-acap-imsp-lessons-01.txt            December 1996
  8.  
  9.  
  10.                        Lessons Learned from IMSP
  11.  
  12.  
  13. Status of this memo
  14.  
  15.      This document is an Internet Draft.  Internet Drafts are working
  16.      documents of the Internet Engineering Task Force (IETF), its Areas,
  17.      and its Working Groups.  Note that other groups may also distribute
  18.      working documents as Internet Drafts.
  19.  
  20.      Internet Drafts are draft documents valid for a maximum of six
  21.      months.  Internet Drafts may be updated, replaced, or obsoleted by
  22.      other documents at any time.  It is not appropriate to use Internet
  23.      andrewDrafts as reference material or to cite them other than as a
  24.      ``working draft'' or ``work in progress``.
  25.  
  26.      To learn the current status of any Internet-Draft, please check the
  27.      1id-abstracts.txt listing contained in the Internet-Drafts Shadow
  28.      Directories on ds.internic.net, nic.nordu.net, ftp.isi.edu, or
  29.      munnari.oz.au.
  30.  
  31.      A revised version of this draft document will be submitted to the
  32.      RFC editor as a Proposed Standard for the Internet Community.
  33.      Discussion and suggestions for improvement are requested.  This
  34.      document will expire six months after publication.  Distribution of
  35.      this draft is unlimited.
  36.  
  37.  
  38. 1. Introduction
  39.  
  40.      IMSP (Internet Message Support Protocol) [IMSP] was designed and
  41.      implemented to supply the support functions necessary for a large
  42.      scale IMAP4 based infrastructure with highly mobile users.
  43.      Although the protocol was successful in its mission, it was
  44.      realized that a slightly different approach could achieve more for
  45.      the Internet Standards community.  Thus was born the idea for ACAP
  46.      (Application Configuration Access Protocol) [ACAP].
  47.  
  48.      This document will discuss the successes and failures of the IMSP
  49.      protocol and how the IMSP experiment is influencing the design of
  50.      ACAP.
  51.  
  52.  
  53.  
  54.  
  55.  
  56. Newman                                                          [Page 1]
  57.  
  58. Internet Draft         Lessons Learned from IMSP           December 1996
  59.  
  60.  
  61. 2. The origin of IMSP
  62.  
  63.      CMU (Carnegie Mellon University) has been running an experimental
  64.      messaging system called AMS (Andrew Message System) for many years.
  65.      AMS has been extremely successful and has lead to a situation where
  66.      mail, shared bboards, and newsgroups are used daily by people from
  67.      all over the University, including non-technical departments.
  68.      Unfortunately, AMS has two fatal flaws.  It is dependant on AFS
  69.      (Andrew File System) which inhibits scaling and cross-platform use,
  70.      and is not standards based so that all clients have to be developed
  71.      in-house.
  72.  
  73.      In 1992, CMU begin working through the Internet standards process
  74.      to bring the functionality of AMS to the standards community.  CMU
  75.      strongly supported IMAP4 [IMAP] as the core functionality, and
  76.      created IMSP to supply the support functions which are needed in a
  77.      message system but are not part of basic message access.
  78.  
  79.      There are three major components of IMSP:
  80.  
  81.      1) Storage for client configuration information.
  82.  
  83.      2) Storage for user address books.
  84.  
  85.      3) Mailbox distribution/replication support.
  86.  
  87.      The first two components are successfully used today at a number of
  88.      large sites.  Experiments with the third component are ongoing.
  89.  
  90.  
  91. 3. Mobile Users
  92.  
  93.      Universities, Hospitals and other large sites need a message system
  94.      where any PC or workstation can be used to access messages
  95.      transparently.  As tele-commuting and laptops become more popular,
  96.      more individuals are faced with the problem of accessing their
  97.      messages from more than one computer and often more than one
  98.      platform.  While IMAP4 [IMAP] allows users to access their message
  99.      stores, it does not provide storage for address books and
  100.      configuration information needed by these mobile users.  IMSP fills
  101.      this niche.
  102.  
  103.      This need is so great that a significant number of sites have
  104.      deployed IMAP4 and IMSP despite the immaturity of IMAP clients in
  105.      1995 and the experimental nature of IMSP.  The IMAP4/IMSP
  106.      combination allows users to move from machine to machine and get
  107.      the same configuration and interface.
  108.  
  109.  
  110.  
  111.  
  112. Newman                                                          [Page 2]
  113.  
  114. Internet Draft         Lessons Learned from IMSP           December 1996
  115.  
  116.  
  117. 4. Client Configuration
  118.  
  119.      The CMU IMSP server implementation provides server storage of
  120.      client configuration and also provides administrative defaults or
  121.      mandatory settings for client configuration.  Our experiments show
  122.      this is a great success.
  123.  
  124.      For example, many sites wish to control what appears in the "From:"
  125.      header of outgoing mail, while other sites let the user do as they
  126.      choose.  The CMU IMSP server allows sites to configure either a
  127.      default "From:" address, or a mandatory "From:" address based on
  128.      the IMSP login name.  This prevents users from accidentally sending
  129.      mail with the wrong "From:" address.  Administrators of large sites
  130.      are quite fond of this feature.
  131.  
  132.      The Simeon client from ESYS corporation stores a great deal of
  133.      private configuration information on the IMSP server, in addition
  134.      to common configuration options.  The decision to create an IMSP
  135.      options registry for common options as well as reserving parts of
  136.      the name space with vendor specific prefixes appears to be sound.
  137.  
  138.      Options appear to work well as they are implemented in IMSP, and
  139.      are certainly not limited to messaging.  ACAP should include an
  140.      option registry with vendor specific prefixes, as well as
  141.      administrative defaults and mandatory settings.
  142.  
  143.  
  144. 5. Address Books and Access Control
  145.  
  146.      Almost every messaging system provides an interface for personal
  147.      address books which is distinct from a public directory service.
  148.      CMU's IMSP server provides an interface to multiple personal
  149.      address books.  It also provides rich access control on address
  150.      books so they can be shared with other users.  As soon as a client
  151.      interface was created for these functions they both became very
  152.      popular.  They were so popular, in fact, that users started asking
  153.      for the ability to "subscribe" to address books so they didn't have
  154.      to wade though a large list.
  155.  
  156.      The basic structure for IMSP address books was that each address
  157.      book was made up of a list of entries, and each entry was made up
  158.      of a set of (attribute, value) pairs.  A set of basic attributes
  159.      was defined, and others were permitted.  This structure
  160.      successfully provided the necessary flexibility.
  161.  
  162.      Despite these successes, there are a number of problems with IMSP
  163.      address books.  Access becomes slow when they get large, and
  164.      searching requires two round trips to the server.  The original
  165.  
  166.  
  167.  
  168. Newman                                                          [Page 3]
  169.  
  170. Internet Draft         Lessons Learned from IMSP           December 1996
  171.  
  172.  
  173.      server implementation didn't allow spaces in address book entry
  174.      names, but users soon demanded this flexibility.  There were also
  175.      requests for access control groups to improve sharing of address
  176.      books.
  177.  
  178.      Finally, it became clear that there are two different models for
  179.      address books in common use.  The Unix/text-based model has a short
  180.      alias for each entry which expands to the email address.  The
  181.      PC/GUI model uses common names which can be chosen from a list to
  182.      use as the email address.  IMSP used the common name as the primary
  183.      key for address books, which makes implementation of the
  184.      Unix/text-based model inefficient due to the two-round trips needed
  185.      for searching.
  186.  
  187.      The ACAP protocol should include address books with rich access
  188.      control and a "subscription" capability.  It needs to address the
  189.      problems we've identified in IMSP.
  190.  
  191.  
  192. 6. Generalization of the Application Configuration problem
  193.  
  194.      While IMSP was designed specifically for messaging applications,
  195.      the options and address book functions could be quite useful in
  196.      other applications.  In addition, the mobility problem is not
  197.      limited to messaging.  Web browser bookmarks are a prime example of
  198.      application configuration information which should be mobile.
  199.  
  200.      Another observation was that the mailbox list features of IMSP
  201.      didn't seem to fit with the address book and configuration
  202.      portions, and each had different target markets.  This recognition
  203.      was the primary motivation to invent ACAP.  ACAP specifies a basic
  204.      model which can then be applied to support different applications.
  205.  
  206.  
  207. 7. Large Lists
  208.  
  209.      The IMSP protocol model for address book entries and mailbox lists
  210.      is a serious problem for large lists.  It requires fetching the
  211.      entire list, even when a client only has display space for the
  212.      first 50.  This can be very slow on low memory machines and over
  213.      slow network connections.
  214.  
  215.      ACAP should provide a way for clients to implement "virtual scroll
  216.      bars" where they only have to fetch what needs to be displayed to
  217.      the user.  This means that ACAP needs rich server side searching
  218.      and sorting with the ability to fetch deterministic parts of the
  219.      resulting ordered list.
  220.  
  221.  
  222.  
  223.  
  224. Newman                                                          [Page 4]
  225.  
  226. Internet Draft         Lessons Learned from IMSP           December 1996
  227.  
  228.  
  229. 8. The ACAP "dataset" model
  230.  
  231.      The CMU IMSP implementation ended up using the same database
  232.      backend for all the lists (options, address book entries, address
  233.      books, mailboxes).  The server translated the function based
  234.      commands for each of these lists into a common set of backend
  235.      database operations.
  236.  
  237.      ACAP can be a smaller and simpler protocol than IMSP if it provides
  238.      data based commands rather than function based commands.  The idea
  239.      is to take the IMSP address book model and turn it in to a generic
  240.      container which can hold options, mailboxes, access control groups
  241.      or even web browser bookmarks.
  242.  
  243.      Therefore the ACAP "dataset" model has the same structure as an
  244.      IMSP address book: a dataset is a set of entries and each entry is
  245.      a set of (attribute, value) pairs.
  246.  
  247.  
  248. 9. Conclusion
  249.  
  250.      IMSP was a successful experiment which demonstrates the need for a
  251.      configuration server.  ACAP is the logical refinement of the ideas
  252.      behind IMSP and is likely to become an important part of the
  253.      Internet protocol suite.
  254.  
  255.  
  256. 10. References
  257.  
  258.           [IMSP]      Myers, J., "Internet Message Support Protocol",
  259.                       Experiment in progress,
  260.                       http://andrew2.andrew.cmu.edu/cyrus/rfc/imsp.html,
  261.                       June 1995
  262.  
  263.           [IMAP]      Crispin, M., "Internet Message Access Protocol -
  264.                       Version 4rev1", RFC 2060, University of
  265.                       Washington, December 1996.
  266.  
  267.           [ACAP]      Myers, J., "Application Configuration Access
  268.                       Protocol", Work in progress, November 1996.
  269.  
  270.  
  271.           11. Security Considerations
  272.  
  273.           There are no known security issues in this memo.
  274.  
  275.  
  276.  
  277.  
  278.  
  279.  
  280. Newman                                                          [Page 5]
  281.  
  282. Internet Draft         Lessons Learned from IMSP           December 1996
  283.  
  284.  
  285.      12. Acknowledgments
  286.  
  287.           Many thanks to Steve Hole and the ESYS corporation for their
  288.           early client support of IMSP which was invaluable to this
  289.           effort.  Thanks also to Terry Gray for his insistence that
  290.           IMSP was too application specific and that something more
  291.           general was needed.  And thanks to John Myers for his
  292.           authorship of the IMSP specification and observation that
  293.           everything could fit into the address book model.
  294.  
  295.      13. Author's Address
  296.  
  297.      Chris Newman
  298.      Innosoft International, Inc.
  299.      1050 E Garvey Ave S.
  300.      West Covina, CA 91790
  301.  
  302.      Email: chris.newman@innosoft.com
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.  
  335.  
  336. Newman                                                          [Page 6]
  337.  
  338.