[erlang-questions] Erlang package manager

Loïc Hoguin essen@REDACTED
Sun Jan 4 10:32:34 CET 2015


On 01/03/2015 04:48 PM, the.silly.sad wrote:
> On 01/03/2015 04:46 PM, Loïc Hoguin wrote:
>> On 01/03/2015 04:26 PM, Anthony Ramine wrote:
>>> A set of static files CPAN-style sounds way easier to maintain than a
>>> complex HTTP-based protocol.
>>
>> A thousand times this.
>
> how is one opposite to another?
> former is a fileformat latter is a network protocol.

Think about public and private mirrors. A set of files is easy to copy 
and you can put them in a folder already served by the currently running 
Web server. There's no requirement on what software is used, it could be 
any HTTP server. That also opens the possibility of having the files 
locally and not needing a server at all.

A protocol? You have to setup the software, update it, and it's not 
clear how mirrors would work but anything that isn't plain files will 
require more work than copying files.

Also note it's much easier to find people willing to serve files than 
people willing to install unknown software.

On the note of mirrors: considering Erlang is all about reliability, I 
think it would be an offense if it did not come with at least 3 separate 
mirrors (maybe 1 America 1 Europe 1 Asia) from scratch, that the manager 
knows about and can switch to another automatically if one gets down. 
The list of mirrors of course being ultimately configurable.

-- 
Loïc Hoguin
http://ninenines.eu



More information about the erlang-questions mailing list