Spare Some Bandwidth?


18 Aug 2008

Internet access is growing steadily in developing nations, but limited infrastructure means that at times connections can still be painfully slow. A major bottleneck for these countries is the need to force a lot of traffic through international links, which typically have relatively low bandwidth.

Now computer scientists in Pakistan are building a system to boost download speeds in the developing world by letting people effectively share their bandwidth. Software chops up popular pages and media files, allowing users to grab them from each other, building a grassroots Internet cache.

In developed countries, Internet service providers (ISPs) create Web caches–machines that copy and store content locally–to boost their customers’ browsing speeds. When a user wants to view a popular website, the information can be pulled from the cache instead of from the computer hosting the website, which may be on the other side of the planet and busy with requests. Similar services are offered by content distribution companies such as Akamai, based in Cambridge, MA. High-traffic sites pay Akamai to host copies of their content in multiple locations, and users are automatically served up a copy of the site from the cache closest to them.

In countries like Pakistan, Internet connections are generally slow and expensive, and few ISPs offer effective caching services, limiting access to information–one reason why the United Nations has made improving Internet connectivity worldwide one of its Millennium Development Goals. None of Pakistan’s small ISPs cache much data, and traffic is often routed through key Internet infrastructure in other nations.

“In Pakistan, almost all the traffic leaves the country,” says Umar Saif, a computer scientist at the Lahore University of Management Sciences (LUMS). That’s the case even when a Pakistani user is browsing websites hosted in his or her own country. “The packets can get routed all the way through New York and then back to Pakistan,” Saif says.

So Saif’s team at LUMS is developing DonateBandwidth, a system inspired by the BitTorrent peer-to-peer protocol that is popular for trading large music, film, and program files. With BitTorrent, people’s computers swap small pieces of a file during download, reducing the strain placed on the original source.

DonateBandwidth works in much the same way but lets people share more than just large files. When users try to access a website or download a file, a DonateBandwidth program running on their machine checks first with the peer-to-peer cache to see if the data is stored there. If so, it starts downloading chunks of the file from peers running the same software, while also getting parts of the file through the usual Internet connection. The software could allow people in countries that have better Internet connections to donate their bandwidth to users in the developing world.

DonateBandwidth also manipulates an ISP’s cache. “Say a person with a dial-up connection wants to download a file,” Saif says. “When running DonateBandwidth, their computer starts downloading part of a file, while also sending a request for other DonateBandwidth users who have access through the same ISP, and whose computers have spare bandwidth, to trigger them to start downloading other parts of the same file.” The file is then loaded into the ISP’s cache, so it can be downloaded more quickly.

Saif compares the project to distributed computing schemes such as SETI@Home, which uses volunteers’ spare computer power to collaboratively analyze radio signals from space, looking for signs of intelligent life. “DonateBandwidth permits sharing of unused Internet bandwidth, which is much more valuable in the developing world, compared to computing cycles or disk space,” he says.

The more people who use DonateBandwidth within the same country, the more websites and files could be cached, freeing up the international link. In the developed world, “typical bandwidth savings due to caching are around 30 to 40 percent,” Saif says. The program is not publicly available yet, but Saif’s team is currently testing a proof-of-concept version and will collaborate with Eric Brewerand colleagues at the University of California, Berkeley, to implement it in Pakistan.

“In Pakistan and a lot of developing countries, they are building a good local network, but the international network is not very good,” says computer scientistSaman Amarasinghe of MIT. “Having a system like what [Saif] proposed is very valuable.”

“Misconfiguration of caches rings true with our experiences in Kenya and Ghana,” adds Tariq Khokar of Aptivate, a nonprofit group in Cambridge, U.K., that works on improving connectivity in developing countries. “I doubt anybody outside of a developing country would have come up with DonateBandwidth.”

Aptivate created another system, called Loband, that strips photos and formatting from Web pages to make them load faster for users in developing countries. “Loband helps with bandwidth but not latency,” Khokar says, but “having content cached in country means the latency associated with an international hop is eliminated.”

Copyright (c) Technology Review, Inc. All rights reserved.
Photo credit: The OPTE Project, licensed under Creative Commons

bookshelf

books I've read on failure & grace

The World Without Us
The Last Oil Shock: A Survival Guide to the Imminent Extinction of Petroleum Man
Zeitoun
A Paradise Built in Hell: The Extraordinary Communities That Arise in Disaster
Hell and High Water: Global Warming--the Solution and the Politics--and What We Should Do
The Worst Hard Time: The Untold Story of Those Who Survived the Great American Dust Bowl
The Tipping Point
Three Cups of Tea: One Man's Mission to Promote Peace... One School at a Time
The Upside of Down: Catastrophe, Creativity and the Renewal of Civilization
Out of Poverty: What Works When Traditional Approaches Fail
The Little Ice Age: How Climate Made History, 1300-1850
Confessions of an Eco-Sinner: Tracking Down the Sources of My Stuff
Deep Economy: The Wealth of Communities and the Durable Future
The Geography of Bliss: One Grump's Search for the Happiest Places in the World


Mason's favorite books »

TAG CLOUD