Characteristics and usage of PM2

Main features of pm2 Built in load balancing (for the use of Node cluster cluster module and subprocesses, please refer to Chapter 9 of Park Ling's "getting to the bottom of node.js") Thread guard, keep alive 0 second shutdown and heavy load, no need to shut down for maintenance and upgrading Now Linux (stable) & Mac OS X ...

Posted by ratebuster on Fri, 13 Dec 2019 12:37:05 -0800

vue application without scaffold

There are not only many modular projects in the work, but also only one or two activity pages similar to filling in information to participate in activities. At this time, you can return to the previous three swordsman mode, and reference vue.js in index.html for development. Key points: Babel Polyfill needs to be introduced to transform the c ...

Posted by Threepwood on Fri, 13 Dec 2019 07:54:04 -0800

Get messages from the server regularly

Function Description: There is a message function in the interface. Click message to view the message list. Regularly send the request interface to the server to obtain the latest messages, and display the number of messages in the form of corner marks to the message function, Thus, users can intuitively know that they have received several m ...

Posted by vidhu on Fri, 13 Dec 2019 07:04:20 -0800

Qingyun Xenon manages mysql master-slave replication test

Environment: 2 VM virtual machines centos7 x86? 64 bit system Configuration environment requirements: I. two virtual machines need to turn off iptables, turn off firewalld, turn off selinux and turn on time synchronization parameters to ensure that the time of the two virtual machines is consistent2. The sshd service of the two virtual machine ...

Posted by aperantos on Fri, 13 Dec 2019 03:21:21 -0800

Do you think what you think is what you think? Record a joint debugging process of peer-to-peer server notification

Two systems of the company. Our A system should send A business contract application to B system. After receiving the data, system B will process it asynchronously and send A notice to our system A after signing. The interface document indicates that the asynchronous notification is sent through the post request of http protocol, and the me ...

Posted by powlow on Fri, 13 Dec 2019 02:44:22 -0800

Python crawlers crawl asynchronously loaded data

Preface The text and pictures in this article are from the Internet. They are for study and communication only. They do not have any commercial use. The copyright is owned by the original author. If you have any questions, please contact us in time for processing.Author: Effort and effort Crawl qq music artist data interface data ...

Posted by nickiehow on Thu, 12 Dec 2019 20:10:55 -0800

Wechat applet docking to display Alibaba cloud database data

Realistic demand In the project, sometimes the field equipment fails, which needs to be known by the remote personnel. In addition to the way of email, the way of wechat applet is also very good. Try it today and make a demo version. 1. Wechat applet application production front end 1.1 lists file (use template and data bind ...

Posted by Hamish on Thu, 12 Dec 2019 08:45:13 -0800

KubeSphere log backup and recovery practice

Why log backup is needed KubeSphere log system uses the log collection and storage scheme of Fluent Bit + ElasticSearch, realizes the life cycle management of Index through the cursor, and cleans the long-term logs regularly. For scenarios with log audit and disaster recovery requirements, the default 7-day log retention policy of KubeSphere is ...

Posted by Naoa on Thu, 12 Dec 2019 03:06:36 -0800

JAVA - parse JSON from the file and write it to the JSON file (details)

1.json introduction json is less descriptive than XML, but its data volume is smaller and its transfer speed is faster The writing format of json data is "Name: value pair", for example: "Name" : "John" //name For name,The value pairs are"john"Character string The value pair types are divided into: Number (in ...

Posted by theycallmepj on Thu, 12 Dec 2019 02:50:55 -0800

Node learning note function self calling and crud addition, deletion, modification and query

Function self calling In general, the purpose of taking a function as a parameter is to obtain the asynchronous operation results inside the function The following code is an example of synchronization function add (x + y) { // Function method return x + y } add(10, 20) // Calling function The following code is an asynchronous function ...

Posted by utdfederation on Thu, 12 Dec 2019 00:54:57 -0800