Python devops Development (12)----RabbitMQ, Pymysql, Sqlachemy

Source: Internet
Author: User
Tags message queue sql using rabbitmq

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.