[erlang-questions] REST server

Mark Bucciarelli <>
Tue Mar 8 00:30:51 CET 2016


I'm curious to hear what do more experienced erlang'ers think of mochiweb?
That's where I ended up after googling and reading on my own.

On Mon, Mar 7, 2016 at 2:47 PM, Steve Vinoski <> wrote:

>
>
> On Mon, Mar 7, 2016 at 2:27 PM, Vlad Dumitrescu <>
> wrote:
>
>> Hi!
>>
>> I am an almost complete noob regarding this, so please excuse me if I am
>> asking questions with obvious answers.
>>
>> I have an application that I'd like to expose via a REST api. From what I
>> could find quickly, in the Erlang world it looks like the main options are
>> Webmachine and Cowboy.
>>
>
> And Yaws. See http://yaws.hyber.org/ .
>
>
>> Does anyone have any advice on which one fits better my requirements, as
>> below?
>>
>> - the server must be embeddable in another application, i.e. possible to
>> start/stop without a release
>> - it must be possible to configure it to use a dynamic port value
>> (multiple independent servers may run on the same machine)
>> - the REST API is delegating to an Erlang API, so ease of implementation
>> would be nice :-)
>> - if it is possible to run multiple servers on the same Erlang runtime,
>> then it would be a big plus
>>
>
> Yaws can do all this and more.
>
> --steve
>
>
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20160307/ee52ae5d/attachment.html>


More information about the erlang-questions mailing list