Python - Send mail

SMTP Send Mail Send mail import smtplib from email.mime.text import MIMEText from email.header import Header # Configuring Mailbox Server smtpserver = "smtp.163.com" # User/password user = "admin@163.com" password = "123456" # Sender mailbox sender = "admin@163.com" # Receiver mailbox receiver = ...

Posted by ESCForums.com on Sat, 05 Oct 2019 03:39:22 -0700

Implementation of GTID Function Experiments by Binary Installation of MySQL 5.7

Environmental Science: 192.168.205.37: as master server 192.168.205.47: as slave server Edition: OS: centos 7 1810 with mini install mysql-5.7.26-el7-x86_64.tar.gz Purpose: GTID(global transaction ID) global transaction identifier, MySQL 5.6 version began to support, GTID replication, unlike traditional replication (asynchronous delayed re ...

Posted by El_Dudereno on Fri, 04 Oct 2019 18:28:19 -0700

Zookeeper Source Code Analysis and Connection Establishment - Service End Chapter

In this article, we will analyze the source code of the server when zookeeper establishes the connection. Here we skip the process of the server startup (because it contains too much content, one article can not finish), and look directly at the code of the server to process the request. There are two kinds of NIOServer CnxnFactory and Netty Se ...

Posted by tekparasite on Fri, 04 Oct 2019 15:57:01 -0700

C# - High Performance RPC Framework: Socean.RPC

brief introduction Socean.RPC is a high-performance RPC framework under.Net. The framework is targeted at high performance and high stability. The underlying layer is based on socket, and its code is concise. The total code size is about 2000 rows, without third party library references, and the frame performance is high. It can reach 10w+ per ...

Posted by chord on Fri, 04 Oct 2019 13:31:45 -0700

Linux Centos 7 - MySQL 5.7 Offline Installation

The internal network is installed by offline package. First, Download Download address: https://dev.mysql.com/downloads/mysql/ After entering the page, click the link on the right. Download the corresponding version. Upload to the server through xftp6 and other tools. II. Installation and Configuration 2.1 Query and uninstall Ma ...

Posted by thoand on Fri, 04 Oct 2019 13:08:04 -0700

java network programming-TCP-multi-person chat (object-oriented encapsulation)

Client:Multiple customers can send and receive information normally, because they can send and receive information at the same time, not wait after sending information.Return information, so add multithreading public class Client { public static void main(String[]args) throws UnknownHostException, IOException { System.out.println("Client ...

Posted by Balmung-San on Thu, 03 Oct 2019 22:46:18 -0700

Spark Learning 02 - A Method to Create DStream

Spark Streaming provides two types of built-in streaming media sources. Basic source: The source directly provided in the StreamingContext API. Example: File system and socket connection. Advanced resources: Kafka, Flume, Kinesis and other resources can be obtained through additional utility classes. ...

Posted by leebo on Thu, 03 Oct 2019 10:21:03 -0700

Installation and basic use of mysql backup tool innobackupex

Preface: The encapsulation of xtrabackup by innobackupex is a reliable physical backup tool launched by percona. Official Link Address For mysql, logical backup can use mysqldump, mysqlpump, mysqldumper, and physical backup can use innobackupex directly. Installation: For convenience, I use centos ...

Posted by hossein2kk on Thu, 03 Oct 2019 08:28:11 -0700

BIO of Handwritten Tomcat Series

target Understanding what BIO is, understanding the limitations of BIO   understand BIO: block I/O, synchronous blocking, server implementation mode is a connection thread, that is, when the client has a connection request, the server needs to start a thread for processing, if the connection does ...

Posted by jameslynns on Thu, 03 Oct 2019 07:11:54 -0700

python learning notes mimic qq online chat tool

  Based on the knowledge of process and thread learned before, and the principles of network communication tcp and udp, you can write a small program that mimics qq. 1. Operating Interface: (Simple, you can change the style according to your own requirements) 1. Server interface:   2. Client I ...

Posted by aksival on Wed, 02 Oct 2019 17:20:56 -0700