# Product Architecture

The product architecture is as follows

<!-- image-todo -->

* NameServer: The routing registration center, providing Broker management and routing information management functions.

* Broker: The message handling module, responsible for message storage, delivery, querying, etc., includes two roles of Broker Master and Broker Slave, a single Master node can correspond to multiple Slave nodes.

* Producer: Message producer, supports cluster deployment.

* Consumer: Message consumer, supports cluster deployment, supports both pull and push methods.

* High availability module: DezaiCloud self-developed Broker availability management module monitors the availability of master and slave Broker nodes, achieves autonomous master-slave switching when Broker Master node is abnormal, ensuring cluster availability.