[programming basics] Python configuration file reading library ConfigParser summary

The Python ConfigParser tutorial shows you how to use ConfigParser to use configuration files in Python. Article catalog 1 Introduction 1.1 Python ConfigParser reading files 1.2 sections in Python configparser 1.3 Python ConfigParser reading data from strings 1.4 Python ConfigParser reading data fro ...

Posted by turboprop on Sun, 21 Jun 2020 02:23:45 -0700

Connection pool & mybatis Foundation

"Connection pool & mybatis introduction notes" Learning objectives Be able to understand the principle of connection pool to solve current problems Able to use C3P0 connection pool Ability to use DRUID connection pool Master the quick start of mybatis framework development Principl ...

Posted by spires on Sun, 21 Jun 2020 00:12:55 -0700

dubbo service grouping, current limiting measures and service fusing degradation

Order module issues 1. Split the order module horizontally and vertically. There will be more and more data in the order table in the e-commerce platform. In order to better business expansion, the database table needs to be split. Horizontal split is divided into clothing order table, home applianc ...

Posted by alpha_juno on Sat, 20 Jun 2020 01:55:04 -0700

BootStrap -- common style

Common styles Typesetting title Bootstrap, like ordinary HTML pages, defines the title with tags from < H1 > to < H6 >. However, bootstrap overrides its default style and displays the same effect in all browsers. In order to make the non heading element and the heading use the same style, six class names of. h1~.h6 are specially def ...

Posted by BobRoberts on Sat, 20 Jun 2020 00:56:05 -0700

How to add fields to mysql large tables without stopping

Adding fields to a table of ten million or more levels in MySQL has always been a headache. In this case, how to deal with it? This paper uses three common scenarios to illustrate the case. 1. Environmental preparation Database version: 5.7.25-28 (Percona branch) Server configuration: three centos 7 virtual machines with 2CPU 2G memory Database ...

Posted by romilbm on Fri, 19 Jun 2020 23:20:57 -0700

mysql master and slave of Liunx service management

Introduction of master and slave What is master-slave? MySQL master-slave replication is one of its most important functions. Master-slave replication refers to that one server acts as the master database server and another or more servers act as the slave database server, and the data in the master ...

Posted by grimz on Fri, 19 Jun 2020 05:48:13 -0700

Storage of real-time data, Spark+TDengine application in China Telecom Power Dynamometer System Monitoring Platform

Small T guide: the monitoring platform of electric power dynamometer system is designed and developed based on the equipment data acquisition and equipment Bank V2.0 application of China Telecom Shanghai ideal information industry (Group) Co., Ltd. The real-time data of the collected devices are stored in TDengine. Application background The p ...

Posted by ainoy31 on Thu, 18 Jun 2020 20:14:38 -0700

A quick tutorial of building server project based on Hunt Framework 3.2.0

Hunt Framework is a full stack Web framework developed in D language, similar to Laravel / SpringBoot / Django, etc., which enables D language developers to create projects quickly. The built-in super multi business specifications are convenient for developers to use out of the box, and convenient for managers to review project code more easily ...

Posted by jesse_james on Thu, 18 Jun 2020 02:11:58 -0700

2. Event monitoring and cluster building of zookeeper

1. zookeeper event listener 1.1. watcher concept: zookeeper provides data publish / subscribe function. Multiple subscribers can listen to a specific subject object at the same time. When the subject object's own state changes, such as the node content changes, the list of child nodes under the ...

Posted by brandtj on Thu, 18 Jun 2020 00:35:26 -0700

Practical tutorial of using JWT token in OAuth2.0 series

Practical tutorial of using JWT token in OAuth2.0 series (8) 1. Introduction to the preface 2. Example experiment verification 3. Simple function test OAuth2.0 blog series: Basic concepts and operation process of OAuth2.0 series (1) OAuth 2.0 series authorization code mode practice tutorial (2) O ...

Posted by jstarkey on Wed, 17 Jun 2020 00:18:06 -0700