Skip to content

SCC horizontal scaling. Target a specific user on another node. #425

@ayberkanilatsiz

Description

@ayberkanilatsiz

Hi, Vertical scaling works fine with scc-state and scc-broker.

Publish clients emitting are working awsome but i have problem. I want emit inbox to user which is connect other server.

screen shot 2018-06-06 at 11 19 12

I want to emit inbox to User B from Socket Cluster X. I know User B socket id.

I did scServer.clients[socketId].emit('inbox', inbox);. It works on only single cluster but now
i get TypeError: Cannot read property 'emit' of undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    guidanceTo give a link, instead of answering again ^^,question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions