XS Server Services: Difference between revisions

From OLPC
Jump to navigation Jump to search
Line 15: Line 15:


==Bandwidth Amplification==
==Bandwidth Amplification==
This problem is one of supplying content posted to a school's library to a large number of other schools. This is a problem due to the limited bandwidth available for uplink from a typical school. It also appears in the distribution of new content (revised textbooks, OEPC, software updates, etc.)
This problem is mainly one of supplying content posted to a school's library to a large number of other schools. This is a problem due to the limited bandwidth available for uplink from a typical school. It also appears in the distribution of new content (revised textbooks, [[OEPC]], software updates, etc.)


This is the problem that cable and satellite networks were developed to solve. Thankfully,
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 (DSL, satellite) network connections.
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 by school servers using highly asymmetrical (DSL, satellite) network connections.


One solution is a well-connected server with a large amount of storage provided at the regional or country level which will mirror (and backup!) the content produced by each school. We can use P2P access protocols to reduce the load on these (seed) servers making use of schools with good uplink connectivity (are there any of these, perhaps in major cities ?).
One solution is a well-connected server with a large amount of storage provided at the regional or country level which will mirror (and backup!) the unique content from each school. P2P access protocols can be used to reduce the load on these (seed) servers making use of schools with good uplink connectivity (are there any of these, perhaps in major cities ?).


==Caching==
==Caching==

Revision as of 02:17, 2 February 2007

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 problem is mainly one of supplying content posted to a school's library to a large number of other schools. This is a problem due to the limited bandwidth available for uplink from a typical school. It also appears in the distribution of new content (revised textbooks, OEPC, software updates, etc.)

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 by school servers using highly asymmetrical (DSL, satellite) network connections.

One solution is a well-connected server with a large amount of storage provided at the regional or country level which will mirror (and backup!) the unique content from each school. P2P access protocols can be used to reduce the load on these (seed) servers making use of schools with good uplink connectivity (are there any of these, perhaps in major cities ?).

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.

An opensource solution like Moodle could be an option. See http://moodle.org for more details.

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?