Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Second websockets worker setup #293

Closed
@aokozlov

Description

@aokozlov

We are using one websockets worker to send messages to 25k clients. It uses about 1GB RAM and 100% of one CPU core. It seems like it can't handle more active connections with messages sent.

We use Nginx as reverse proxy for that. So is there any way to set up another artisan websockets:serve on different port and somehow set up our nginx to handle it all. Messages are sent from events with ShouldBroadcast.

Maybe there are other ways to handle this highload?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions