Successful instance of php operation redis cluster cluster
java operation redis cluster cluster can use jredis
php can operate redis cluster cluster in two ways:
1. Use the phpredis extension, which is a c extension with higher performance. However, the phpredis2.x extension does not work. You need to upgrade phpredis to 3.0, but there are few references for this scheme
2. Use predis, pure PHP developm ...
Posted by pacmon on Tue, 03 Dec 2019 00:57:52 -0800
Database · Redis basic to advanced
I. implementation and application of PHP message queue
Advantages and disadvantages of message queuing
III. configuration and preparation of message queue
The cases are as follows:
The following are the team list fields and properties
IV. Mysql order queue
1. Accept the order and write the data order.php
<?php
//This ...
Posted by NNTB on Mon, 02 Dec 2019 22:34:26 -0800
Recovery of deleted linux files by mistake
Under Linux, the file is deleted by mistake. Use extundelete to restore the test process
extundelete download address: https://pkgs.org/download/extundelete
Add a disk to the virtual host, which is / dev/sdb
[root@localhost bin]# cat /proc/scsi/scsi
Attached devices:
Host: scsi2 Channel: 00 Id: 00 Lun: 00
Vendor: VMware Model: Virtual d ...
Posted by Push Eject on Mon, 02 Dec 2019 18:59:15 -0800
Efficient PHP Redis caching technology, refer to the next steps
Have you thought about how PHP can use redis as a cache?
Front and background modules share the Model layer;
However, not every Model class can be cached, which is a waste of Redis resources;
The front and back modules are free to decide whether to read data from the database or from the cache.
No redundant code;
Easy to use.Here we first show ...
Posted by grungefreak on Mon, 02 Dec 2019 13:14:20 -0800
ubuntu, debian install redis, set the startup auto start and password, and allow Internet access
The package of apt comes with redis. If the version of redis is not very high, you can directly use apt to install it:
apt install redis-server
Start redis:
redis-server
Start command line interface:
redis-cli
Note: after apt installation, the location of redis configuration file is / etc/redis/redis.conf
To modify a profile: ...
Posted by ElkySS on Sun, 01 Dec 2019 17:59:17 -0800
Zookeeper registry of dubbo
At present, dubbo supports a variety of registration centers: Zookeeper, Redis, Simple, Multicast, Etcd3.
This article analyzes how dubbo integrates Zookeeper to register and subscribe services when Zookeeper is used as the registration center.
First, Dubbo registers the service with Zookeeper, and the directory structure is as follows: (regist ...
Posted by Tensing on Sun, 01 Dec 2019 08:10:43 -0800
Easy mock - installation configuration and basic use
Easy-mock
Easy mock is a relatively easy-to-use interface simulation tool,
We need to install and configure before using
The content to download is as follows
Node
Redis
MongoDB
Node and Redis can click next. MongoDB can refer to MongoDB Installation and operation
After installation, you can download easy mock from github and start using ...
Posted by KYarb on Sat, 30 Nov 2019 13:45:29 -0800
Master slave distributed crawler
Why use distributed Crawlers
It's been a while since learning crawlers were implemented in a python file, without considering performance, efficiency, etc. So as a qualified spider, we need to learn about distributed crawlers.
What distributed crawler? In short, it is to use multiple servers to get data, let these servers cooperate and assign ...
Posted by crash58 on Sat, 30 Nov 2019 07:18:16 -0800
Centos 7.4 source installation redis-5.0.4
Preparation
click Official website Download the installation package
Use tar -zxvf to extract the installation package to / usr/local directory, and name it redis. The steps are omitted. The results are as follows
[root@iZ2xxxxxuf9Z local]# pwd
/usr/local
[root@iZ2xxxxxuf9Z local]# ls
aegis etc include lib libexec nginx ...
Posted by ChrisML123 on Fri, 29 Nov 2019 22:12:14 -0800
Introduction to SpringBoot+Redis
This blog Uncle cat's blog , reprint please state the sourceThis series of tutorials is HMStrange project Incidental.
Historical articles
How to install the latest version of CentOS 7.6 in VMware 12
CentOS 7.6 install Java8
Centos7.6 install MySQL+Redis (latest version)
Getting started with SpringBoot+MySQL+MyBatis
Tutorial content
Note: thi ...
Posted by beselabios on Fri, 29 Nov 2019 12:39:27 -0800