XS Server Services

From OLPC
Revision as of 06:43, 29 January 2007 by Wad (talk | contribs) (→‎Library)
Jump to navigation Jump to search

These are services that the School server will provide. Additional services under consideration for deployment are listed separately.

Please help by adding links to existing pages discussing these topics, if you are aware of them

Library

The school library provides media content for the students and teachers using a School server. This content may either be accessed directly from the school library or downloaded onto the laptops. The content in the school library comes from a variety of sources: OLPC, the country, the regional school organization, other schools, and teachers and students in the school.

The problems faced by the school library are many:

  • bandwidth amplification
  • caching
  • self-management
  • security and identity

Bandwidth Amplification

This is the problem that cable and satellite networks were developed to solve. Thankfully, the Internet has made it an easier problem. Unfortunately, the architecture most useful for nonprofit distribution --- peer-to-peer (P2P)--- is not well suited for use in schools with highly asymmetrical (satellite) network connections.

It is an interesting problem. Some sort of well-connected server w. lots of storage is probably necessary at the regional or country level which will mirror (and backup!) the content produced by each school. We can use P2P methods to reduce the load on these servers (if we can find network geographically sensitive P2P algorithms) making use of schools with good uplink connectivity.

Caching

The size of the desired library is larger than the storage capability of any single School server. Outside of locally generated content, a significant portion of the library is likely to be available only from outside the school. In order to preserve the user experience, a #HTTP_Caching transparent HTTP proxy will cache frequently accessed content locally on the machine.

Self-management

What is mechanism for user submissions of media to the library? Will teachers (and students) have a place to put resources they create where all can retrieve?


What about local wikis? Should they be supported on the School server? To some extent, a Wiki may be used as the means for uploading and cataloging static media local to the school library.

Security and Identity

The issues around who can upload content to a Library, and how this idenity is determined are difficult ones (being addressed elswhere in this wiki ?).

Network Router

The School server is first and foremost a node in the wireless mesh which provides connectivity to the larger internet.

A starting assumption is that it is largely a transparent router. It does not perform any network address translation, and very little packet filtering. It will perform bandwidth shaping to ensure fair access to the internet.

HTTP Caching

The only packet filtering proposed is a transparent proxy on port 80, which will allow a caching of commonly accessed HTTP (web) content to occur locally. This will reduce the load on the internet connection, as well as the response time seen by a user. This may be relied upon to implement the School library.

Name Resolution and Service Discovery

The School server will use and support the use of [Zeroconf] techniques for device name declaration and service discovery.

Should it also support traditional DNS (exporting the mDNS names)?

Bandwidth Fairness

The School server should implement a bandwidth fairness algorithm which prevents a single user from dominating the use of the internet connection. The problem is that the short-term fairness algorithms used by TCP give P2P software equal consideration as users trying to access a document over the web. By biasing the queueing algorithm based on usage over the past 4 to 24 hours, we can protect the random browser from the heavy downloader.

The problem is that due to our mesh network, we may really be penalizing a remote classroom relayed through a single node.

We could bias the bandwidth allocation based on remote port (e.g. favoring web access to port 80), but this solution seems less than optimal.

Backup

According to this description of the Journal, it will provide automatic backup to the School server, with a veriety of restore options.

What are the plans for providing additional storage to users of the XO laptops? How does the Journal handle filling up the available storage on the XO? allocated storage on the School server?