An article about TiDB disaster recovery

1, Background High availability is another major feature of TiDB. All three components of TiDB/TiKV/PD can tolerate partial instance failure without affecting the availability of the whole cluster. The following describes the availability of these three components, the consequences of a single instance failure, and how to recover. TiDB T ...

Posted by billynastie on Thu, 21 May 2020 06:23:27 +0200

The implementation of flash restful API and the basic permission control based on flash httpauth

This tutorial series is divided into three phases 1.flask restful web service 2. Flash restful API (to be updated) 3. Flash httpauth implements permission control (to be updated) 4.uwsgi management flash application (to be updated) Article excerpted from http://www.pythodoc.com/flask-restful/ I corrected some of the procedural problems arisin ...

Posted by cmzone on Wed, 13 May 2020 14:22:53 +0200

Record curl submit data encoding and javascript transform unicode problem

1. Data coding problem of curl submission When using curl to send a POST request under windows, there is a problem. The parameters transmitted are not UTF-8 encoded. 1. In the GIT bash test, locale is UTF-8, no effect, the server received or GBK encoding. 2. Tested under cmd, chcp 65001 has no effect. The server receives GBK code. 3. Wri ...

Posted by boiy on Sun, 10 May 2020 16:19:42 +0200

How to use Istio for multi-cluster deployment management: Single Control Plane Gateway Connection Topology

Author|Wang Xining Senior Technical Expert of Alibaba Guidance: This paper is abstracted from the book "Istio Service Grid Technology Analysis and Practice" written by Wang Xining, a senior technical expert in Ali Cloud. It describes how to use Istio to manage multi-cluster deployment to illustrate the support capability of service ...

Posted by ainoy31 on Thu, 07 May 2020 19:48:08 +0200

Three ways to configure Nginx virtual host (2) (based on port)

2. Port based virtual host configuration of Nginx If a server has only one IP or needs to access different virtual hosts through different ports, port based virtual host configuration can be used. 2.1 suppose the server has an IP address of 192.168.2.154 [root@localhost conf]# ifconfig ens33:4 192.168.2.154/24 up [root@localhost conf]# ...

Posted by chanchelkumar on Tue, 05 May 2020 03:35:56 +0200

Asynchronous message queuing API based on swoole

Explain 1. If you need to perform time-consuming operations in the Server program, such as a chat Server sending broadcast, and a Web Server sending mail. If these functions are executed directly, the current process will be blocked, resulting in slow response of the Server. Swoole provides the function of asynchronous task processing, which ca ...

Posted by strangermaster on Mon, 27 Apr 2020 16:35:09 +0200

Ainong payment express payment + payment form customs declaration demo

During the work period, the customer specifies to use this. During the actual work time, the other party has no demo, has an md5 signature that is also 1.0, and can't find the case through online search. The official website doesn't provide any related content of the document. Everything should be written according to the document provided by t ...

Posted by Sentosa on Mon, 27 Apr 2020 16:03:46 +0200

Smokeping quick installation guide

Written in front I thought I would never use smokeping again, but I was wrong. According to the last use for about half a year, it's usually used once for sex and again this time. I totally forgot to clean it. Then start install apt-get -y install smokeping Configuration service For the configuration of the Web server, refer to the above Ru ...

Posted by help_lucky on Mon, 30 Mar 2020 19:56:48 +0200

Detailed explanation of PHP FFI -- a new PHP extension method

  With PHP7.4, there is an extension that I think is very useful: PHP FFI (Foreign Function interface), which refers to a description in PHP FFI RFC: For PHP, FFI provides a way to write PHP extensions and bindings to C libraries in pure PHP. Yes, FFI provides high-level languages to call each other directly. For PH ...

Posted by Johan Beijar on Mon, 30 Mar 2020 12:07:14 +0200

k3s service building

There is a server at home, usually used as its own development environment, running some small programs. It is planned to upgrade the server and use k3s to manage common development tools, which is convenient for your own use. Because I only have one server, there is no cluster in this article. Quick install command ## "-- Docker" use ...

Posted by dymon on Sat, 21 Mar 2020 15:32:51 +0100