[erlang-questions] [ANN] Cowboy 2.0.0-rc.1

pablo platt pablo.platt@REDACTED
Wed Jul 26 18:20:36 CEST 2017


Does Cowboy 2.0 use process per Websocket packet?
Does this means that it's better to stay with Cowboy 1.x for a server that
use only Websockets?

On Tue, Jul 25, 2017 at 7:53 PM, Loïc Hoguin <essen@REDACTED> wrote:

> Hello,
>
> Some people already use it in production without problems. Your mileage
> may vary.
>
> The performance/latency should be the same on the stream handler level
> (low level interface), but by default Cowboy 2.0 creates a new process per
> request and therefore there will be some performance loss due to the
> communication between the processes.
>
> There is more than one process per connection now because HTTP/2 streams
> (request/response pairs) must execute concurrently. But nothing prevents
> you from making your own interface that only uses one process per
> connection, just make sure not to block.
>
> Cheers,
>
>
> On 07/25/2017 06:29 PM, Max Lapshin wrote:
>
>> Hi.
>>
>> Recommended for production?
>>
>> Do you think that we should await any performance/latency changes from
>> cowboy 1 to 2 on 2-4 RPS, about 10 Gbit/s per server?
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
> --
> Loïc Hoguin
> https://ninenines.eu
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20170726/5f1bfe7e/attachment.htm>


More information about the erlang-questions mailing list