1. What is Dubbo SPI
First, look at the description of the dubbo website:
The SPI is called Service Provider Interface and is a service discovery mechanism.The essence of SPI is to configure the fully qualified name of the interface implementation class in a file and load the implementation class by r ...
Posted on Sat, 11 Jan 2020 16:41:54 -0800 by sfmnetsys
When doing the redis cluster, you need to use Ruby tools to operate. It is found that the version of ruby installed online is too low, and the version supported by redis is at least 2.2.2
Install ruby Online
Install ruby online using yum with version 2.0.0.
yum install ruby
Add ruby repository
Posted on Tue, 31 Dec 2019 09:43:53 -0800 by mark_kccs
Optimistic Locks and Transactions
Use watch to monitor a key;
Open transaction for operation;
Submit the transaction after the operation is completed;
If the watch key changes before committing, the committed transaction will not work;
* Test transactions and optimistic locks
Posted on Mon, 23 Dec 2019 10:21:11 -0800 by dvdflashbacks
1. Introduction to Redis
Redis is currently a large-scale cache middleware, which is widely used because of its powerful, efficient and convenient functions.
Redis released 3.0.0 in 2015, officially supporting redis clusters.The redis cluster was designed with decentralization and Middleware in mind.That is, each node in the cluster has an equ ...
Posted on Sat, 21 Dec 2019 13:14:06 -0800 by Rabioza123
redis cluster, experimental environment: two servers, six nodes, three network cards for each server
Six nodes, three masters, three replicas
Install redis on the primary server
[root@localhost ~]# yum install gcc gcc-c++ make -y #Install environment package
[root@localhost ~]# mkdir /abc
[root@localhost ~]# Mount.cifs / / 192.168.100.25/redi ...
Posted on Tue, 17 Dec 2019 14:54:45 -0800 by nvidia
Two Centos 7 virtual machines are added with three network cards to simulate the real situation of six servers
Master node M1
Master node M2
Master node M3
Slave node S1
Slave node S2
Slave node S3
Posted on Wed, 11 Dec 2019 13:10:58 -0800 by hwttdz
Server A: 192.168.3.188 centos7Server B: 192.168.3.189 centos7Turn off firewalld firewall and selinux;Redis version 4.0.1, at least 6 sets of redis cluster
yum -y install wget vim tcl gcc make
mkdir –p /usr/local/redis
tar –xvf redis-4.0.1.tar.gz
make test-No mistake. Go on
Posted on Mon, 09 Dec 2019 14:40:48 -0800 by Ruud Hermans
This article introduces how to use openebs to provide k8s with the function of dynamic pv application. iscsi provides the underlying storage function, and openebs manages iscsi. Currently, only pv's ReadWriteOnce access mode is supported
Access mode is only a capability description, not a mandatory one. For the use of pv with ...
Posted on Wed, 04 Dec 2019 01:32:56 -0800 by Sander
How many ways to exchange variables in C + +?
How to exchange variables
Define macro code block
Programming experiment: exchange of variables
using namespace std;
#define SWAP(t, a, b) \
t c = a; \
a = b; \
Posted on Sat, 30 Nov 2019 07:31:24 -0800 by mars_rahul
The second server of the website runs mainly in Python/Ruby and sometimes needs to run PHP scripts simply, so PHP is also installed. The environment is Nginx+php-fpm. PHP is compiled and installed from source code, so it is a minimal installation even without the mysqli extension.You need to use the GD library today to find that there is no GD ...
Posted on Wed, 27 Nov 2019 18:49:45 -0800 by Sturm