I am in the design phase of a programming language, and I am currently considering concurrency. I need to find a consistency model, that is, how to process data through concurrent processes program
Author: Simo
ZooKeeper (4) Registration Center
Case The registration center can be implemented using Eureka. This is relatively simple. You can see the previous example spring-cloud.
Based on spring cloud, we can also implement it very si
PT-Table-Checksum data consistency use reference
pt-table-checksum is an artifact to check the consistency of MySQL data. With the pt-table-sync tool, it is perfect. There are many articles about this on the Internet, so I won’t introduce too muc
Spring transaction
First of all we know that In fact, Spring does not directly manage transactions, butprovides a variety of transaction managers< strong>. They delegate the responsibility of transaction management t
Centos 7.2 is built with VSFTP virtual users
Virtual user setup vsftp requirement 1: Only upload and download are allowed, cannot be deleted, cannot be changed name yum install pam*yum install db4* -yyum install vsftpdchkconfig vsftpd oniptab
Install Yii2 under CentOS
It is assumed that linux, mysql, php, nginx/apache have been installed here
1. Install curl extension (you can skip it if you have installed it)< /strong>
composer config -l -g Mine
CentOS installation 1
1, install epel-release Enter the command: yum -y install epel-release
Enter and wait for the installation to succeed
First, let’s get the yum source of PHP7.0 and execute the following
Centos Linux server installed nginx
1. Before installing nginx, we must first make sure that the system has g++, gcc, openssl-devel, pcre-devel and zlib-devel software installed, which can be detected by the command shown in the figu
ZooKeeper core principle
Zookeeper’s core principles The origin of Zookeeper each Data consistency of nodes
How to ensure that the task is only executed on one node
If orderserver1 is down, how will other nod
CentOS6-CentOS7 Firewall Set Port NAT Forward
Background:
In the iptables environment of centos6 system:
iptables -t nat -A PREROUTING -p tcp- m tcp –dport 8080 -j DNAT –to destination 192.168.1.163:80
iptables -t nat -A POS