cluster deploy #835

Open
forest-yang opened this Issue Dec 26, 2016 · 2 comments

Projects

None yet

2 participants

@forest-yang
forest-yang commented Dec 26, 2016 edited

Environment

  • OS: CentOS 7
  • Erlang/OTP:
  • EMQ: 2.0

Description

When deploy under cluster environment, I have seen a description, EMQ will keep copy of Topic <-> Node mapping among all nodes, if 1M or even 2M clients connects to broker, there wil be lots of resources (memory) will be consumed of each node, right? can mapping keep out of broker, e.g., redis or other in-memory database and used by all broker?

A description of the issue

@forest-yang

I have seen this description: "Every node in the cluster will store a topic trie and route table in mnesia database.". is it possible to store topic & client out side broker?

@emqplus
Member
emqplus commented Dec 28, 2016 edited

@forest-yang Now the topic trie and routing table will be replicated to each node in the cluster. And we are working on a micro service architecture these days to separate the connection and routing layer.

@emqplus emqplus added the Discussion label Dec 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment