rabbitmq是基于erlang语言开发的,所以在安装的时候需要用安装erlang,至于怎么安装,可以再网上找
rabbitmq的作用:
RabbitMQ is the most widely deployed open source message broker.
With more than 35,000 production deployments of RabbitMQ world-wide at small startups and large enterprises, RabbitMQ is the most popular open source message broker.
RabbitMQ is lightweight and easy to deploy on premises and in the cloud. It supports multiple messaging protocols. RabbitMQ can be deployed in distributed and federated configurations to meet high-scale, high-availability requirements.
RabbitMQ runs on many operating systems and cloud environments, and provides a wide range of developer tools for most popular languages.
python语言中,用pika模块去跟rabbitmq交互,rabbitmq说穿了就是一个生产者,消费者的模型结构
生产者——————》rabbitmq————————》消费者
下面是普通的语法 一:
import pika