Skip to content

eNATS and 2+ replicas #51

@nilcolor

Description

@nilcolor

I'm still trying to find a way to deploy 2+ anycables with eNATS using this chart. I.e. I deployed anycable (replica: 1) and it works just fine. Client can connect, receive.send messages. All is good. Note: I'm using HTTP broadcast adapter. Idea is to avoid any extra services like redistribution, etc. The amount of message is pretty low. So, setup work just fine with single replica. But if I will set somethign like replica: 2 - it stop working. Anycable logs still show that client(s) can connect and they are connected to different nodes. But sending a message from Rails is no longer works. I expect it is required to setup a eNATS cluster. But docs tells "start first server like this, start others like that". This is not possible with this chart, right?
Supercluster... but that require 2+ cluster to be created first.
What did I miss? Is the only way to have 2+ replicas is to have Redis?

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