Skip to content

Celluloid concurrency doesn't parallelize the connection setup #84

@dblock

Description

@dblock

Celluloid creates an Actor which then performs a connection. Even if you put this inside a Celluloid.defer (as I did in dblock/slack-market@3635cdd) it doesn't seem to happen in parallel, build_socket is blocking. This causes server start with lots of connections to be very slow, as we create TCP connections one-at-a-time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions