OpenAFS is a 100% open source globally distributed file system derived from IBM AFS commercial offering as of 1 November 2000. Since IBM released the source code OpenAFS has thrived adding support for new platforms while enhancing its overall performance, scalability and usability.
OpenAFS has a large, mature codebase of over 800,000 lines of code. It is used by large enterprises, universities, and research establishments worldwide, and plays a part in fields from finance through space exploration to quantum physics. Developing code for OpenAFS gives you the opportunity to make a significant difference to a product that is in real-world large scale production use, and to learn key development skills. We have a large, supportive, community of developers who are keen to see new developers enter our project, and happy to help out as you get up to speed.
If you are considering applying to OpenAFS for a Summer of Code project and have not already read the GSoC 2010 FAQ we suggest that you do so.
OpenAFS is a challenging project to develop for. It is a large and complex project that has developed over nearly 3 decades. The code must work across a wide variety of different operating systems, and is heavily multi-threaded in places. On Unix, the OpenAFS client runs within the machine's kernel, which can significantly complicate the development process. As an enterprise product, OpenAFS relies upon significant underlying infrastructure, which a developer needs to get running before they can test any OpenAFS code. In addition, OpenAFS is primarily written in C, with all of the attendant issues of memory management and pointer manipulation.
These challenges mean that students who successfully complete a Summer of Code are likely to leave with significant new skills. Real world experience of developing for distributed systems, kernel programming, building test infrastructures and developing thread safe code are key skills to develop, and we're happy to help you to learn them. Please join us on #openafs on freenode, in the Jabber conference openafs@conference.openafs.org, or on the openafs-devel@openafs.org mailing list.
If you apply to OpenAFS please be aware of the following:
You can speak to members of the OpenAFS Community using three forums:
The following are a list of project ideas that members of the OpenAFS community believe are not only interesting challenges that can be completed over a Summer but that will provide much needed features or functions for OpenAFS.
AFS has, for years, had an NFS to AFS translator which loads into the Solaris kernel. This project would build a new translator for all Unix operating systems, building on top of the existing userspace AFS cache manager. It offers the prospective student the opportunity to learn about the internals of both the AFS and NFS distributed filesystem protocols. An existing knowledge of the C programming language is required.
The AFS protocol offers encryption for data transport from client to server. However, that data is stored on the server in cleartext, where it can potentially be read by the administrators of that server. This poses a real world problem for organisations who wish to outsource the provision of their file storage, whilst keeping their data confidential. This project would augment the existing AFS client to support encrypting data blocks before sending them to the file server. Additional enhancements would manage user and data keys in such a way that a user can share encrypted files with other AFS users of their choosing, and protect the names of files, in addition to their contents. This is a challenging project, during which the student will gain an in depth knowledge of kernel programming, distributed systems, and cryptography.
Desktop search clients such as Beagle are now widely available. However, they do not work well with network filesystems and the vast amount of data that may be remotely stored upon them. This project would develop an AFS search service which indexes all of the data available on an AFS fileserver, and permit clients to query that data. Files may be indexed using existing metadata, or through agents which index objects of particular types. Students will learn how to specify and extend an existing distributed system, and gain exprience with information search, indexing and retrieval toolss
OpenAFS, as a globally-distributed filesystem, has users worldwide, some of whom no doubt do not speak English even as a second language. This project would build infrastructure to collect text strings to be internationalized at build time, and install any provided translations into the finished builds. Tools and libraries which might be used include xgettext (to collect strings) and the libintl internationalization suite ("dgettext"), or native platform methods such as MacOS CoreFoundation ("CFBundleCopyLocalizedString"). Students will learn how to interface with C libraries, command line tools and build systems. If you're interested in OpenAFS but find the idea of threaded and kernel programming to be overwhelming, this may be the project for you.
Since GSoC 2008, and based on a concept pioneered in the 1990s by UMich CITI OpenAFS has supported disconnected operations, meaning cached files can remain available and editable in the presense of no network. In order to be truly useful, components are needed to allow selections of files to be stored for offline use while still online, to cause those files to remain up-to-date while the client is connected, and to keep in-memory state of the files across a client shutdown, so reboots can be done while disconnected from the network. An especially ambitious student might also provide a graphical selection mechanism for retaining files. Skills learned will include kernel and threaded programming skills.
Clients now have large local disks available to them, and fast local bandwidth. The remaining issue, in particular in scientific applications with large datasets, is in the speed of the transport mechanism between the client and the server hosting the data. In a cluster environment, where a large number of clients are collaborating on processing the same read-only data, it shouldn't be necessary for each client to individually fetch the data from the server - instead a single client should be able to perform the data fetch, and share the results with all of the other clients in the cluster. This is a challenging project, developing a design and proof of concept for entirely new functionality. Skills learned will include the principals of peer-to-peer filesystems, developing cluster filesystems and kernel programming
In order to store arbitrary metadata (aka attributes) with files or directories in file systems that do not have the necessary native support Apple developed the Apple DoubleFile format. AFS does not support arbitrary metadata and on Apple MacOS X systems, the operating system will create DoubleFiles without additional support from the AFS Cache Manager. This project is to implement native support for Apple DoubleFiles in one or more of the AFS Cache Managers exporting Posix Attributes on Unix/Linux platforms and Extended Attributes on Microsoft Windows. This will permit arbitrary metadata (for example, icons, thumbnail images, author, copyright info, gps tags, etc.) to be stored in AFS and shared across multiple operating systems without requiring changes to the AFS file servers.
OpenAFS currently provides readonly replication of data, but many sites would like to be able to replicate all of the data, both read only and read/write. A proposal of how to implement this within the AFS protocol can be read here.
This project would be continuing from the work done in this area during the 2008 Summer of Code.
A student choosing this project will gain exerience in the skills necessary for developing network-distributed systems, especially with regard to file systems.
Anything else that you want to submit. Speak with members of the OpenAFS Community and brainstorm.