skip to main content
article
Free access

Disconnected operation in the Coda File System

Published: 01 February 1992 Publication History

Abstract

Disconnected operation is a mode of operation that enables a client to continue accessing critical data during temporary failures of a shared data repository. An important, though not exclusive, application of disconnected operation is in supporting portable computers. In this paper, we show that disconnected operation is feasible, efficient and usable by describing its design and implementation in the Coda File System. The central idea behind our work is that caching of data, now widely used for performance, can also be exploited to improve availability.

References

[1]
BURROWS, M. Efficient data sharing, PhD thesis, Univ. of Cambridge, Computer Laboratory, Dec. 1988.]]
[2]
CATE, V., AND GROSS, T. Combimng the concepts of compression and caching for a two-level file system. In Proceedings of the 4th ACM Symposium on Architectural Support for Programming Languages and Operating Systems (Santa Clara, Calif., Apr. 1991), pp 200-211.]]
[3]
COVA, L. L. Resource management in federated computing environments. PhD thesis, Dept. of Computer Science, Princeton Univ., Oct. 1990.]]
[4]
DAVIDSON, S. B. Optimism and consistency in partitioned distributed database systems. ACM Trans. Database Syst. 9, 3 (Sept. 1984), 456-481.]]
[5]
DAVIDSON, S. B., GARCIA-MOLINA, H., AND SKEEN, D. Consistency in partitioned networks. ACM Comput. Surv. 17, 3 (Sept. 1985), 341-370.]]
[6]
FLOYD, e. A. Transparency in distributed file systems. Tech. Rep. TR 272, Dept. of Computer Science, Univ. of Rochester, 1989.]]
[7]
GRAY, C. G., AND CHERITON, D. R. Leases: An efficient fault-tolerant mechanism for distributed file cache consistency. In Proceedings of the 12th ACM Symposium on Operating System Principles (Litchfield Park, Ariz., Dec. 1989), pp. 202-210.]]
[8]
HISG~N, A., BmRELL, A., MANN, T., SC~ROEDER, M., AND SWART, G Availability and consistency tradeoffs in the Echo distributed file system. In Proceedings of the Second Workshop on Workstation Operating Systems (Pacific Grove, Calif., Sept. 1989), pp. 49-54.]]
[9]
HOWARD, J. H., KAZAR, M. L., MENEES, S. G., NICHOLS, D. A., SATYANARAYANAN, M., SIDEBOTHAM, R. N., AND WEST, M. J. Scale and performance in a distributed file system. ACM Trans. Comput. Syst. 6, 1 (Feb. 1988), 51 81.]]
[10]
KLEIMAN, S. R. Vnodes: An architecture for multiple file system types in Sun UNIX. In Summer Usenix Conference Proceedings (Atlanta, Ga., June 1986), pp. 238-247.]]
[11]
KUMAR, P., AND SATYANARAYAN^N, M. Log~based directory resolution in the Coda file system. Tech. Rep. CMU-CS-91-164, School of Computer Science, Carnegie Mellon Univ., 1991.]]
[12]
LAMBERT, M. PCMAIL: A distributed mail system for personal computers. DARPA-Internet RFC 1056, 1988.]]
[13]
MASHBURN, H., AND SATYA~ARAYANAN, M. RVM: Recoverable virtual memory user manual. School of Computer Science, Carnegie Mellon Univ., 1991.]]
[14]
NE~DHAM, R. M., AND HERnERT, A.J. Report on the Third European SIGOPS Workshop: "Autonomy or Interdependence in Distributed Systems." SIGOPS Rev. 23, 2 (Apr. 1989), 3-19.]]
[15]
OUSTERHOUT, J., DACOSTA, H., H~RISON, D., KUNZE, J., KUPFER, M., AND THOMPSON, J. A trace-driven analysis of the 4.2BSD file system. In Proceedings of the l Oth ACM Symposium on Operating System Principles (Orcas Island, Wash., Dec. 1985), pp. 15-24.]]
[16]
S~DBERG, R., GOLDBEaG, D., KLEIMAN, S., WALSH, D., AND LYON, B. Design and implemenration of the Sun network filesystem. In Summer Usenix Conference Proceedings (Portland, Ore., June 1985), pp. 119-130.]]
[17]
SATYANARAYANAN, M. On the influence of scale in a distributed system. In Proceedings of the lOth International Conference on Software Engineering (Singapore, Apr. 1988), pp. 10-18.]]
[18]
SATYANARAYANAN, M., KISTLEa, J. J., KUMAR, P., OKASAKI, M. E., SmGEL, E. H., AND STatuRE, D.C. Coda: A highly available file system for a distributed workstation environment. IEEE Trans. Comput. 39, 4 (Apr. 1990), 447-459.]]
[19]
SATYANARAYANAN, M. Scalable, secure, and highly available distributed file access. IEEE Comput. 23, 5 (May 1990), 9-21.]]
[20]
SCHROEDER, M. D., GU~FORO, D. K., AND NEEOHAM, R. M. A caching file system for a programmer's workstation. In Proceedings of the lOth ACM Symposium on Operating System Principles (Orcas Island, Wash., Dec. 1985), pp. 25-34.]]
[21]
STEERE, D. C., KISTLER, J. J., ANn SATYANARAYANAN, M. Efficient user-level cache file management on the Sun Vnode interface. In Summer Usenix Conference Proceedings (Anaheim, Calif., June, 1990), pp. 325-331.]]
[22]
Decorum File System, Transarc Corporation, Jan. 1990.]]
[23]
WALKER, B., POPEK, G., ENGLISH, R., KHNE, C., AND THmL, G. The LOCUS distributed operating system. In Proceedings of the 9th ACM Symposium on Operating System Principles (Bretton Woods, N.H., Oct. 1983), pp. 49-70.]]

Cited By

View all

Recommendations

Reviews

Andrew Robert Huber

The simple but elegant idea behind disconnected operation in Coda is that caching of files can be used to enhance availability as well as performance. Disconnected operation implemented this way provides the benefits of shared files and allows continued operation during a server or other network failure or when using a portable computer. This paper shows that disconnected operation is feasible and can be made efficient and practical. The authors' experience to date in an academic and research environment shows that users can work for as long as one or two days in disconnected mode with only about 50 megabytes of local storage, yet propagating the changes that were made when the user reconnects takes only about one minute. The key to the design is the cache manager running on each client. Two implementation decisions are crucial: caching entire files, and optimistic copy control. Caching entire files means that a cache miss can only occur upon opening a file, when it can conveniently be handled. Optimistic copy control allows reads and writes to the cached copies during disconnected operation. One important contribution of the work is the reported data showing how little conflicting usage of files occurs in practice. The weaknesses in the approach are also due to the basic mechanisms that make it work. First, whole file caching means users must plan their work to take full advantage of disconnected operation (although this is less of a problem in reality than it seems). Second, caching entire files and relying on having few write conflicts limits the applicability of the solution, since it rules out both applications with a large database or several large files (tens or hundreds of megabytes) and online transaction processing applications where many writes are made to files. It remains an open question how well this approach would work in many commercial applications. The paper is well written and well organized. It was a pleasure to read, as the results are interesting, important, and thought-provoking. It is mandatory reading for researchers in distributed file systems and high availability, and highly recommended for everyone else.

Access critical reviews of Computing literature here

Become a reviewer for Computing Reviews.

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Computer Systems
ACM Transactions on Computer Systems  Volume 10, Issue 1
Feb. 1992
77 pages
ISSN:0734-2071
EISSN:1557-7333
DOI:10.1145/146941
Issue’s Table of Contents

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 February 1992
Published in TOCS Volume 10, Issue 1

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. disconnected operation
  2. hoarding
  3. optimistic replication
  4. reintegration
  5. second-class replication
  6. server emulation

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)621
  • Downloads (Last 6 weeks)86
Reflects downloads up to 06 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Full Access

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media