[erlang-questions] [ANN] Cowboy 2.0.0-rc.1
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:
> 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.
> On 07/25/2017 06:29 PM, Max Lapshin wrote:
>> 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
> Loïc Hoguin
> erlang-questions mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions