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

Loïc Hoguin essen@REDACTED
Tue Jul 25 18:53:16 CEST 2017


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



More information about the erlang-questions mailing list