[erlang-questions] [ANN] Ranch 0.4.0

André Graf <>
Wed Aug 22 14:11:03 CEST 2012


On 22 August 2012 13:56, Loïc Hoguin <> wrote:
> On 08/22/2012 01:44 PM, André Graf wrote:
>>
>> Hi Loďc
>>
>>
>> Wow that's awesome news, and thank you for the documentation! :)
>>
>> One question remains: In
>>
>> https://github.com/extend/ranch/blob/master/guide/listeners.md#listening-on-a-port--1024
>> you mention that it isn't possible to listen on well known ports, why
>> this limitation? If you start the node under a privileged user, or use
>> tools such as privbind or authbind it shouldn't be a problem at all,
>> right?
>
>
> Yeah of course there is a number of solutions involving various third party
> softwares or system configuration, but there is nothing specific in Ranch to
> take care of that. So I'm not sure how to go with that topic, can't document
> every possible solution.

Agree, maybe a documentation page like yaws
http://yaws.hyber.org/privbind.yaws can be useful. But, since ranch is
just a library it may be not even necessary to keep the whole
well-known-port story at all. Anyhow, if you feel it is necessary to
keep it I am happy to contribute a little bit more documentation on
that one.

>
>> Cheers!
>> André
>>
>>
>>
>> On 22 August 2012 13:30, Loďc Hoguin <> wrote:
>>>
>>> Hello,
>>>
>>> The new Ranch is here. Ranch is an acceptor pool for TCP protocols.
>>>
>>>    https://github.com/extend/ranch
>>>
>>> The main work in this version was to remove the need for a very busy
>>> central
>>> gen_server, which was set in priority high in previous versions. This
>>> improved things for some and caused issues for others.
>>>
>>> To fix this I took inspiration from my frequent use of gproc and ended up
>>> using a similar but simpler approach (because we don't need to handle
>>> that
>>> many use cases).
>>>
>>> Many tests have been added, a simple example has been added, and most
>>> importantly a complete user guide has been written.
>>>
>>>    https://github.com/extend/ranch/blob/master/guide/toc.md
>>>
>>> Please forward any comment, criticism, swearing or candy to me in any way
>>> you prefer.
>>>
>>> This version is what's going to be used in Cowboy 0.8.0. Cowboy master
>>> will
>>> be updated in a few days with the new code. Be careful if you still
>>> depend
>>> on "master" instead of "0.6.1"!
>>>
>>> --
>>> Loďc Hoguin
>>>
>>> Erlang Cowboy
>>> Nine Nines
>>> http://ninenines.eu
>>> _______________________________________________
>>> erlang-questions mailing list
>>> 
>>> http://erlang.org/mailman/listinfo/erlang-questions
>
>
>
> --
> Loďc Hoguin
>
> Erlang Cowboy
> Nine Nines
> http://ninenines.eu



More information about the erlang-questions mailing list