Mirror requirements

Want to help the VideoLAN project? Designers, testers, translators, please come...
This is NOT about GETTING some help.
Forum rules
Please read the forum's rules carefully before posting. This forum should not be used to post VLC usage related questions.
donald
New Cone
New Cone
Posts: 3
Joined: 30 Sep 2008 11:43

Mirror requirements

Postby donald » 30 Sep 2008 11:51

Hi!
I am interested to setup a fast mirror located in Germany for the VLC distibution. What requirements are necessary for this? How much space and bandwith does a mirror produce in a month? Ist also FTP ok, or just HTTP?

Thanks in advance.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Mirror requirements

Postby dionoea » 30 Sep 2008 20:08

First of all, thanks for your offer to help.

Currently the full VideoLAN archive is around 8GB big (it slowly grows, every time we release something).
We ask our mirrors to synchronize at least daily using some command line:
rsync -avz --delete anonymous@rsync.videolan.org::videolan-ftp /path/to/directory

Estimating your bandwidth usage is kind of complex. We currently use a random redirection script for most downloads so users are more likely to use mirrors near them then far from them. The redirection script also takes into account the advertised mirror bandwidth. Since you're offering a mirror in Germany, you should be pretty safe from that point of view since we already have lots of European mirrors so the load is nicely spread-out.

About the protocol, we accept both FTP and HTTP mirrors although we prefer HTTP since that's the only protocol which we use in the automatic update feature in VLC.

I hope that this answers your questions. You can always setup a mirror and give it a try for a few days to see what kind of bandwidth usage you'll get.

Thanks once more.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

donald
New Cone
New Cone
Posts: 3
Joined: 30 Sep 2008 11:43

Re: Mirror requirements

Postby donald » 01 Oct 2008 10:39

Thanks for the detailed answer. I've just one more question: I know that 8GB is not that much but i have to be careful with the disk space on the system. Is it also possible to mirror a subdirectoy, for example vlc/lastest/ ? Or is it too complex for the redirection script?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Re: Mirror requirements

Postby dionoea » 03 Oct 2008 12:21

We only accept full mirrors currently. And yeah, that's mainly due to the way our mirror redirection scripts for the website work. We could of course make it possible for our mirrors to only provide partial content ... but that's not possible yet ;)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

donald
New Cone
New Cone
Posts: 3
Joined: 30 Sep 2008 11:43

Re: Mirror requirements

Postby donald » 11 Oct 2008 16:20

Hi!
Sorry for the delayed answer. I was very busy.

I've setup the mirror but first have a look here: The most downloaded file has a size of circa 15MB.
Depending your stats i think an europeen mirror gets one hit per minute. Is this realistic?
The total bandwith of one day is circa 22GB.

That would be too expensive. :/ Is your redirection script scaleable for example to send only one hit to my host every 2 or 3 minutes? If this is too difficult or the mirror is needless with this config i have to upgrade and buy more bandwith a month and then come back to you.

Thanks.


Return to “Contribute and help the VideoLAN project”

Who is online

Users browsing this forum: No registered users and 11 guests