标签:
考虑了下,决定以可靠性为前提,在DDBMS低层支撑架构中用上rabbitmq,像OpenStack一样以RPC为主交互
安装rabbitmq:
apt-get install rabbitmq-server
安装pika库:
pip install pika
相关的学习资料:
http://rabbitmq-into-chinese.readthedocs.org/zh_CN/latest/AMQP/AMQP_0-9-1_Model_Explained/
http://adamlu.net/rabbitmq/tutorial-one-python
http://blog.csdn.net/chenjiebin/article/details/8253433
二:一些常用的命令
服务器相关命令:
启动:sudo rabbitmq-server start
关闭: sudo rabbitmq-server stop
查看状态:sudo rabbitmqctl status
标签:
原文地址:http://my.oschina.net/hochikong/blog/380830