LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 10-02-2007, 03:14 PM   #1
sadarax
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 249

Rep: Reputation: 30
Bandwidth load sharing & HTT Protocol


I am looking for something to help share the outgoing bandwidth of a server. The server is serving pictures to a lot of users, and the owner is having trouble paying for the bandwidth.

If there is a system like this already, please tell me. Otherwise, I am going to try to program it.

The system is to share the uploads (file serving) of the server, and the end user never knows the difference.

Basically, this is the model. There is the main server, and volunteers offer their own servers and bandwidth as nodes with mirrors of the main server.

How it works: A 3rd party user asks the server for a file. The server tells the nodes to fulfill the request. The user never knows the difference.

http://img221.imageshack.us/img221/3563/drawingge8.png

There are a few things I want to know:
  1. I want the user's browser to browse the website(s) like normal and it does not even know the server is having the nodes fulfill the requests. Can this be done with HTTP?
  2. If number 1 is possible, can someone give me information about where to begin programming with HTTP? I would like to write this is C++. I will probably need to know some Apache stuff too (oh boy, that's going to be work).

Last edited by sadarax; 10-03-2007 at 11:19 AM.
 
Old 10-02-2007, 08:35 PM   #2
cygnus-x1
Member
 
Registered: Jul 2006
Location: Crisfield
Distribution: Slackware, CentOS, RedHat
Posts: 159

Rep: Reputation: 15
I am no expert in this area but doesn't bit torrent function in a similar way?
 
Old 10-02-2007, 09:15 PM   #3
sadarax
Member
 
Registered: Sep 2005
Distribution: Ubuntu
Posts: 249

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by cygnus-x1 View Post
I am no expert in this area but doesn't bit torrent function in a similar way?
Yes it does. The idea of sharing the load with multiple volunteer users is basically the same. This is a difference though. Torrent are static and their content does not dynamically update. Also, torrents get uploads from the peers, not just the seeds. Plus, this system would be designed for Webservers, not torrent files.

This system would have dynamically updating content (populated to the nodes by the central server), and the users (the peers) would not be uploading, only downloading.
 
Old 10-04-2007, 11:35 PM   #4
carl.waldbieser
Member
 
Registered: Jun 2005
Location: Pennsylvania
Distribution: Kubuntu
Posts: 197

Rep: Reputation: 32
Isn't that kind of like a reverse proxy?
 
  


Reply

Tags
apache, bandwidth, c++, http, server, sharing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Internet Connection Sharing 'PROTOCOL NOT AVAILABLE' error phoenix07 Linux - Security 3 04-11-2004 11:31 PM
standard linux file sharing protocol? fibbi Linux - Networking 2 04-04-2004 05:09 PM
Bandwidth sharing acid2000 Linux - Networking 1 10-07-2003 01:20 PM
Sharing internet between DHCP protocol? tr4nce Linux - Networking 10 03-25-2003 06:38 PM
sharing the bandwidth radnur22 Linux - Networking 1 01-23-2003 06:27 AM


All times are GMT -5. The time now is 03:03 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration