Content directory:
- RabbitMQ
- Python Operation Mysql,pymysql Module
- Python ORM Framework, Sqlachemy module
- Paramiko
- Other with context switches
RabbitMQ
RABBITMQ is a complete, reusable enterprise messaging system based on AMQP. He follows the Mozilla Public License open source agreement.
MQ is all called the message queue, and Message Queuing (MQ) is an application-to-application communication method. Applications communicate by reading and writing messages to and from the queue (data for the application), without requiring a dedicated connection to link them. Message passing refers to the process of communicating between programs by sending data in a message, rather than by directly invoking each other, and directly invoking techniques such as remote procedure calls. Queuing refers to an application communicating through a queue. The use of queues removes the requirement that both the receiving and sending applications execute concurrently.
1. Basic use of installation configuration
2. Acknowledgment messages are not lost
3. Durable messages are not lost
4. Order of Message Acquisition
5, publish the subscription
6. Send keyword
7. Fuzzy Matching
Pymysql Module
Pymsql is the module that operates MySQL in Python, and is used almost the same way as in MySQLdb (PY2).
Sqlachemy Module
Qlalchemy is an ORM framework in the Python programming language that builds on database APIs and uses relational object mappings for database operations, in short: converting objects to SQL and then executing SQL using the data API and getting execution results.
Paramiko Module
The Paramiko module, based on SSH, is used to connect to remote servers and perform related operations.
Python devops Development (12)----RabbitMQ, Pymysql, Sqlachemy